Yandex.Money API API for Apps

Size: px
Start display at page:

Download "Yandex.Money API API for Apps"

Transcription

1

2 .. Version 1.8 Document build date: This volume is a part of Yandex technical documentation. Yandex helpdesk site: Yandex LLC. All rights reserved. Copyright Disclaimer Yandex (and its applicable licensor) has exclusive rights for all results of intellectual activity and equated to them means of individualization, used for development, support, and usage of the service. It may include, but not limited to, computer programs (software), databases, images, texts, other works and inventions, utility models, trademarks, service marks, and commercial denominations. The copyright is protected under provision of Part 4 of the Russian Civil Code and international laws. You may use or its components only within credentials granted by the Terms of Use of or within an appropriate Agreement. Any infringements of exclusive rights of the copyright owner are punishable under civil, administrative or criminal Russian laws. Contact information Yandex LLC Phone: pr@yandex-team.ru Headquarters: 16 L'va Tolstogo St., Moscow, Russia

3 Contents... 4 Application authorization flow... 5 App registration... 7 Authorization Request... 7 Access token request... 9 Revoking a token Access token scope Protocol overview Request format Response format Data types Information about a user's account account-info method operation-history method operation-details method Payments from the Yandex.Money wallet request-payment method process-payment method incoming-transfer-accept method incoming-transfer-reject method Payments from bank cards without authorization instance-id method request-external-payment method process-external-payment method Notification of events Notification of incoming transfer Index... 60

4 4 The is a tool for using almost all of our service's functions. What you can do using the API: Accept payments both merchants and individual users. Money can be deducted from any bank card or Wallet. Get information about users check the balance and get the history and details of operations. Get HTTP notifications for automatically processing transfers. Perform direct debits. Made from the user's wallet by default, or from a bank card by agreement. How to get started 1. Register your app in the. 2. Read the documentation. 3. Add the new payment feature to the app. For a quick start, use our SDK PHP, Java, Android, ObjC, and ios. 4. Start accepting payments from bank cards or electronic wallets. About payments from bank cards The page where the user enters card data is on our side Yandex.Money has a PCI DSS certificate. How it works: 1. In your app, the user selects "bank card" as the payment method. 2. You send the user to the page for entering data (on our side). During the payment process, the bank may request additional confirmation (3-D Secure). In this case, we ask the user to enter the password. 3. After verification by the bank, you deduct the money, and the user returns to the app and sees a page with information about the payment. About payments from Wallets You only need to get the user's permission once to access the Wallet (standard OAuth). How it works: 1. The app requests the permissions you need. For example, to make recurring direct debits. 2. The user is sent to our site and confirms access for the app. 3. Everything is ready. You can deduct money and request data without the participation of the user. is used by AVITO.ru Mamba Xsolla Fotostrana Zen Money Any more questions? Send us at: api@money.yandex.ru

5 5 Application authorization flow To begin working with a Yandex.Money user's account, an application must get authorized using the OAuth2 protocol, which makes authorization secure and convenient. With OAuth2 authorization, applications don't need to ask users for their Yandex login and password. Instead, a user grants permission for an application to access his account within the restrictions approved by the user. Application authorization in Yandex.Money conforms to the following specifications: The OAuth 2.0 Authorization Framework The OAuth 2.0 Authorization Framework: Bearer Token Usage Diagram illustrating how an application and a user interact with the Yandex.Money OAuth server: Developer steps 1. The developer registers the application in Yandex.Money. This is the Registration Request in the OAuth2 protocol. The Yandex.Money service issues the developer a client_id, which is a string type application ID. 2. The developer embeds this client_id in the application code, declaring it a constant. Then the application can be distributed using any method. The client_id remains constant during the entire application lifecycle.

6 6 How a user authorizes an application 1. The application initiates user authorization to access the user's account, by sending the Authorization Request to the Yandex.Money server. 2. Yandex.Money redirects the user to the Yandex.Money authentication page. 3. The user enters his login and password, reviews the list of requested permissions, and either approves or rejects the authorization request. 4. The application receives an Authorization Response in the form of an HTTP Redirect with either a temporary authorization code or an error code. 5. The application uses the temporary authorization code to get an access token (Access token request). 6. The response contains the permanent access_token. 7. The application informs the user of the authorization results. Verifying the application's authenticity using a secret word The Yandex.Money service provides an additional way to verify that the access token is coming from your application. To do this, when obtaining the access token (the /oauth/token call), the application passes a secret word (client_secret) that is only known to the application. Note: Security measures based on the secret word are effective only if the token request is sent from the application's server, bypassing the user's device or browser. Security requirements 1. All network interactions are transmitted only via HTTPS. 2. In order to prevent compromise of authorization data, the application must verify the validity of the server SSL certificate and abort the session immediately if validation fails. 3. Do not store the access token in unencrypted format, for example, as cookies. 4. Never use the access token in request parameters (GET, POST etc). 5. The secret word should never be transmitted through the user's device or browser. 6. The secret word should not be used in any requests other than the request to get a token.

7 7 App registration To register your application in Yandex.Money, follow these steps: 1. Go to the App registration page. To get access, you will need to enter your payment password. 2. Set the application parameters: description The name of your application, for example, "Mobile store". application_uri Link to the application's web page or the developer s web site. redirect_uri URI for returning the result of application authorization (see redirect_uri in the OAuth 2.0 Authorization Protocol). Use application authenticity verification Specify whether you want to use the secret word for verifying the authenticity of the application (see the description of client_secret in The OAuth 2.0 Authorization Framework). 3. Click the Confirm button. The App data page opens, where you will see the name of your application, its ID (client_id), and, if the corresponding option is selected, the secret word that was generated (client_secret). Caution! The application developer should never openly publish the application's client_id anywhere. Leaking the client_id might provoke "phishing attacks," where applications or sites are launched to get access tokens in your name. If this happens, Yandex.Money will assume that it is receiving requests from your application. To prevent this, you can use the secret word (client_secret), which is only known by the application developer. The application developer should ensure that the secret word (client_secret) is kept confidential. Authorization Request The application uses the OS browser to send an Authorization Request to the Yandex.Money server. Tip: To request a token, we recommend using the POST method (the equivalent of HTML "form submit"), and UTF-8 encoding. Request format: POST /oauth/authorize HTTP/1.1 Host: m.sp-money.yandex.ru (for mobile devices) or sp-money.yandex.ru (for all other devices) Content-Type: application/x-www-form-urlencoded Content-Length: <content-length> client_id=<client_id>&response_type=code &redirect_uri=<redirect_uri>&scope=<scope> Example of request parameters:

8 8 client_id= response_type=code redirect_uri= scope=account-info operation-history Request example: POST /oauth/authorize HTTP/1.1 Host: sp-money.yandex.ru Content-Type: application/x-www-form-urlencoded Content-Length: 154 client_id= &response_type=code&redirect_uri=https%3a %2F%2Fclient%2Eexample%2Ecom%2Fcb&scope=account%2Dinfo%20operation%2Dhistory Request parameters: client_id string The client_id that was assigned to the application during registration. response_type string Constant value: code. redirect_uri string URI that the OAuth server sends the authorization result to. Must have a string value that exactly matches the redirect_uri parameter specified in the application registration data. Any additional parameters required for the application can be added at the end of the string. scope string A list of requested permissions. Items in the list are separated by a space. List items are case-sensitive. For the authorization request, the user is redirected to the Yandex.Money authorization page. The user enters his login and password, reviews the list of requested permissions and payment limits, and either approves or rejects the application's authorization request. The authorization result is returned as an HTTP 302 Redirect. The application must process the HTTP Redirect response. Attention! If a user repeats the application authorization with the same value for the client_id parameter, the previous authorization is canceled. HTTP Redirect callback parameters: code string Temporary token (authorization code); should be exchanged immediately for a permanent access token. Present if the user confirmed authorization of the application. error string Error code. Present if an error occurred or authorization was declined by the user. error_description string Additional text explanation of the error. Possible errors: Value of the error field System behavior

9 9 invalid_request invalid_scope unauthorized_client access_denied The request is missing required parameters, or parameters have unsupported or invalid values. The scope parameter is missing, or it has an invalid value or a contradiction in logic. The client_id value is invalid, or the application does not have rights to request authorization (for example, its client_id has been blocked by Yandex.Money). Authorization request was declined by the user. Example of the Yandex.Money response for successful authorization: Page with the error message text. Page with the error message text. Page with the error message text. Redirect to the application with the error code. HTTP/ Found Location: Response from Yandex.Money when authorization is declined: HTTP/ Found Location: Note: The temporary authorization code (the value from the code field in the response) must be immediately exchanged for an access token. The temporary code expires after one minute. The application must be able to receive and process the response from the Yandex.Money server and immediately exchange the temporary authorization code for the access token. If the application was not able to get a response from the server, or the temporary authorization code was lost or expired, the authorization process must be repeated. See also Access token request Revoking a token Application authorization flow App registration Access token request If authorization was completed successfully, the application should immediately exchange the temporary authorization code for an access token. To do this, a request containing the temporary authorization code must be sent to the Yandex.Money OAuth server. The request must be sent using the POST method. Request format: POST /oauth/token HTTP/1.1 Host: m.sp-money.yandex.ru (for mobile devices)or sp-money.yandex.ru (for all other devices) Content-Type: application/x-www-form-urlencoded Content-Length: <content-length> code=<code>&client_id=<client_id>&grant_type=authorization_code&redirect_uri=<re direct_uri> Request example without verifying authenticity:

10 10 POST /oauth/token HTTP/1.1 Host: sp-money.yandex.ru Content-Type: application/x-www-form-urlencoded Content-Length: 145 code=i1wsrn1ub1ehfbb37&client_id= &grant_type=authoriz ation_code&redirect_uri=https%3a%2f%2fclient%2eexample%2ecom%2fcb Request example with authenticity verification using a secret word: POST /oauth/token HTTP/1.1 Host: sp-money.yandex.ru Content-Type: application/x-www-form-urlencoded Content-Length: 179 code=i1wsrn1ub1ehfbb37&client_id= &grant_type=authoriz ation_code&redirect_uri=https%3a%2f%2fclient%2eexample%2ecom %2Fcb&client_secret=my_secret_word Request parameters: code string Temporary token (authorization code). client_id string The client_id that was assigned to the application during registration. grant_type string Constant value: authorization_code. redirect_uri string URI that the OAuth server sends the authorization result to. The value of this parameter must exactly match the redirect_uri value from the previous "authorize" call. client_secret string A secret word for verifying the application's authenticity. Specified if the service is registered with the option to verify authenticity. In response to the request, the Yandex.Money server returns access_token, which is a symmetric key for the application that authorizes operations using the user account. The token is returned in the format of a JSON document, which can contain one of the following fields (depending on the results): access_token string Access token. Present if successful. error string Error code. Present if an error occurred. Possible errors: Value of the error field invalid_request unauthorized_client invalid_grant Example response for successfully exchanging the temporary authorization code: The request is missing required parameters, or parameters have unsupported or invalid values. The client_id or client_secret value is invalid, or the application does not have rights to request authorization (for example, its client_id has been blocked by Yandex.Money). The access_token could not be issued. Either the temporary authorization code was not issued by Yandex.Money, or it has expired, or an access_token has already been issued for this temporary authorization code (a duplicate request for an access token using the same temporary authorization code).

11 11 HTTP/ OK Content-Type: application/json Content-Length: 102 Cache-Control: no-store "access_token":"slav32hkhjhkkefhkjghgsdcbndbjhfshdfhjdbfv...wfervnrjkg" Example of error response: HTTP/ Bad Request Content-Type: application/json Content-Length: 31 Cache-Control: no-store "error":"invalid_grant" Tip: The temporary authorization code can only be used once. If the application was not able to get a response from the server before the temporary authorization code expired, the entire authorization process must be repeated. Note: The access_token is a symmetric authorization key, so the application developer must secure it the token should be encrypted for storage, with access allowed only after the user authenticates within the application. For example, the token can be encrypted using the 3DES algorithm, where the encryption key is a 4-digit PIN code. Attention! The token is valid for three years. When the token expires, it is automatically revoked. See also Authorization Request Revoking a token Application authorization flow App registration Revoking a token The application can revoke an access token that was issued. This means that all permissions that were granted to this token will be revoked. Send a request to the Yandex.Money OAuth server with the HTTP Authorization header containing the token to be revoked. The request must be sent using the POST method. Request example:

12 12 POST /api/revoke HTTP/1.1 Host: money.yandex.ru Authorization: Bearer ABCDEF Content-Length: 0 In response, the Yandex.Money server returns one of the following HTTP codes: HTTP response code 200 OK The token was revoked successfully. 400 Bad Request HTTP request does not conform to protocol format. Possible reasons: the request can't be parsed; the HTTP Authorization header is missing or has an invalid value. 401 Unauthorized The specified token does not exist, or has already been revoked. Successful response example: HTTP/ OK Content-Length: 0 Example of error response: HTTP/ Bad Request Content-Length: 0 See also Authorization Request Access token request Application authorization flow App registration Access token scope When invoking a protocol operation, you must pass an access token that has the necessary permissions. The list of permissions is requested as the value of the scope parameter for an authorize call for OAuth2 authorization of the application by the user; permissions are separated by a space. The possible permissions are listed below: Permission account-info operation-history operation-details incoming-transfers payment payment-shop payment-p2p To get information about the account status (see the accountinfo method). To view the history of account operations (see the operationhistory method). To view details of a particular operation (see the operationdetails method). To accept/cancel incoming transfers with a secret code and held for pickup. To make payments to a particular merchant or transfer funds to a particular user account (see the request-payment and process-payment methods). To make payments to any merchant accessible via the API (see the request-payment and process-payment methods). To transfer funds to any accounts, phone numbers, or addresses of other users (see the request-payment and process-payment methods).

13 13 money-source Available payment methods (see the methods requestpayment and process-payment). For more information, see The money-source permission. Restriction: The following cannot be used simultaneously in "scope": payment-p2p permission and payment.to-account permission payment-shop permission and payment.to-pattern permission Tip: Some permissions require setting string values that may contain symbols that violate the scope syntax. For such symbols, use backslash escaping according to JSON format. For example: \" \\ Restrictions that apply to permissions Restrictions (limits) may be applied to the permissions granted. Limits are specified like this: permission_name.destination.limit Restrictions that can be applied to permissions: destination condition (the payment recipient) Applies to the permission: payment. Only one of the following conditions can be specified as a value: to-pattern(patternid) Restricts sending payments only using the specified patternid. to-account(to) Restricts transfers of funds only to the account of a specific user. For the recipient ID, you can use an account number, mobile phone number that is linked with the user's account, or the user's address. Limiting parameters: Parameter to The transfer recipient's account ID, phone number linked to the account, or . Mandatory parameter. Tip: Mobile phone number as the payee ID. If the user who is receiving the transfer has a mobile phone linked to the account, the linked phone number can be used as the payee ID instead of using the account number. The specified phone number must be in the format of the ITU-T E.164 Numbering plan of the international telephone service. For Russia, this is the full number starting from 7, without the '+' symbol. For example: Tip: format.

14 14 Acceptable ways of formatting addresses are described in Wikipedia. Keep in mind that addresses may contain symbols that violate the scope syntax, such as double quotes. For such symbols, use backslash escaping according to JSON format. For example: \" \\ Example for specifying the transfer recipient using an account number:.to-account("41001xxxxxxxx") Example for specifying the transfer recipient using a linked mobile phone number:.to-account(" ") Example of specifying the transfer recipient using .to-account("username@yandex.ru") limit condition (payment limit) limit(duration,sum) Applies to these permissions: payment, payment-shop, payment-p2p. The limit is specified last. Format: limit(duration,sum) Limit to the total amount of payments over a period of time. limit(,sum) Delegation of rights to make a one-time payment for a fixed amount. Parameters: Parameter duration sum Value Period of time, in days. If omitted, payment can only be made once using the given permission. Total amount for all payments over the period in duration, in the currency used for the account. Tip: The limit condition can be used for delegating one-time payments. The expiration of the permission is the same as for the token. The user cannot change the payment amount. Restriction: In the context of a single scope, it is allowed to specify either only duration-restricted payments, or only one-time payments. Restriction: If scope is set for a one-time payment, then, in addition to the payment permission, only the moneysource and account-info permissions can be set; all other permissions are forbidden.

15 15 Restriction: Regardless of the value of the requested limits, payments can also be subject to restrictions set by Yandex.Money for various types of transactions. Example: payments restricted to 100 rubles, 50 kopecks per day, and the user can change the amount..limit(1,100.50) Example: one-time payment of 1000 rubles and the user cannot change the amount..limit(,1000) By default: limit(1,3000) 3000 rubles per day and the user can change the amount. The money-source permission Informs Yandex.Money which payment methods are supported by the application. Format: money-source(list_of_payment_methods) The requested method for making a payment: wallet Payments from a Yandex.Money account. cards With the user's bank cards that are linked to the account. Default: wallet. Restriction: Bank cards cannot be used for transferring funds to other users' accounts. Example of payment using both a linked bank card and an account: money-source("wallet","cards") Example of payment using only a linked bank card: money-source("cards") Example of payment using only an account: money-source("wallet") Examples of values for the scope parameter Permitted to view payment history: account-info operation-history operation-details Permitted to view the account balance and make payments to merchant 123 for up to 1000 rubles per week: account-info payment.to-pattern("123").limit(7,1000) Permitted to make transfers to account XXXX, but no more than 500 rubles over a two-week period: payment.to-account("xxxx").limit(14,500) Permitted to make a one-time transfer to the account linked to phone number ZZZ, in the amount of 500 rubles: payment.to-account("zzz","phone").limit(,500) Permitted to make payments from the linked bank card to merchant 123 up to a total of 1000 rubles per week: payment.to-pattern("123").limit(7,1000) money-source("wallet","cards")

16 16 Protocol overview Request format Response format Access token scope Data types Request format Requests are to be sent via HTTP 1.1 using SSL (HTTPS) to the following address: Requests are authorized in accordance with The OAuth 2.0 Authorization Framework: Bearer Token Usage. HTTP requests must have this header: Authorization: Bearer <access_token> Note: The token that is used must have the necessary permissions to execute the requested method with the specified set of parameters. Security requirements: 1. All network interactions are transmitted only via HTTPS. 2. The application should verify the validity of the server's SSL certificate. If the SSL certificate did not pass verification, the session must be aborted immediately to prevent compromising the authorization data. 3. Do not store the access token in unencrypted format, for example, as cookies. 4. Never use the access token in request parameters (GET, POST etc). Format for request parameters: Key/value pairs, packed as HTTP 1.1 POST request parameters. MIME type: application/x-www-form-urlencoded. Character encoding: UTF-8. Request example:

17 17 POST /api/request-payment HTTP/1.1 Host: money.yandex.ru Content-Type: application/x-www-form-urlencoded Authorization: Bearer ABCDEF param1=value1&param2=value2&param3=value3 See also Response format Access token scope Data types Response format The response is a JSON document in UTF-8 encoding (see The application/json Media Type for JavaScript Object Notation (JSON) and the official JSON site). The contents depend on the request results. Successful response example: HTTP/ OK Content-Type: application/json Content-Length: 51 Expires: Thu, 01 Dec :00:00 GMT Cache-Control: no-cache "param1":"value1", "param2":"value2" The response has HTTP headers to forbid proxy servers and local browsers to cache the content. Tip: The response may contain extra fields not described in this protocol. The application is to ignore them. If authorization fails, the server responds with a 4xx HTTP code. Possible reasons for rejection: The request cannot be parsed. The request does not include the HTTP Authorization header. The Authorization header specifies a nonexistent, invalid or expired token. The token does not have permissions for the requested operation. The response contains the WWW-Authenticate header (in accordance with the standard The OAuth 2.0 Authorization Framework: Bearer Token Usage). When authorization of the request is denied, the following fields are present in the response: Field error error_description Codes for reasons for authorization refusal: Code of the reason for authorization refusal. Additional text description of the reason for refusal. HTTP response code Value of the error field 400 invalid_request HTTP request does not conform to protocol format. Unable to parse HTTP request, or the

18 18 Authorization header is missing or has an invalid value. 401 invalid_token Nonexistent, expired, or revoked token specified. 403 insufficient_scope The token does not have permissions for the requested operation. Response example for missing header: HTTP/ Bad Request WWW-Authenticate: Bearer error="invalid_request" Response example for expired token: HTTP/ Unauthorized WWW-Authenticate: Bearer error="invalid_token", error_description="the access token has expired" Response example for token without required permissions: HTTP/ Forbidden WWW-Authenticate: Bearer error="insufficient_scope", error_description="payment forbidden by application authorization parameters" If a technical error occurs, the server responds with the HTTP code 500 Internal Server Error. The application should repeat the request with the same parameters later. See also Request format Access token scope Data types Data types Type Corresponding JSON type string string Character string in UTF-8 encoding. amount number Amount. Fixed-point decimal number with 2-digit precision. boolean boolean Logical value, possible values are true or false. int number 32-bit signed integer number. long number 64-bit signed integer number. object object Embedded JSON object. array array Array of JSON objects. datetime string Timestamp value conforming to the specification RFC3339 in the format YYYY-MM-DDThh:mm:ss.fZZZZZ (see explanation below).

19 19 of the datetime format: YYYY Year, always 4 digits. MM Month, always 2 digits (01 for January, and so on). DD Day of the month, always 2 digits (from 01 to 31). T Uppercase letter "T". hh Hour, always 2 digits (24-hour format, from 00 to 23). mm Minute, always 2 digits (from 00 to 59). ss Second, always 2 digits (from 00 to 59). f Fraction of a second, from 1 to 6 digits; may be omitted, in which case the preceding dot separator (.) should be omitted as well. ZZZZZ Time Zone Offset, mandatory parameter. Can take the values: Z UTC, uppercase letter "Z". +hh:mm or -hh:mm UTC (GMT) offset (indicates that a local time is shown that is either ahead of or behind UTC by the specified number of hours and minutes). Example: T19:00: :00 7 p.m. on July 1, 2011 in the time zone Europe/ Moscow (UTC+04:00). See also Date and Time on the Internet: Timestamps Request format Response format Access token scope

20 20 Information about a user's account account-info method operation-history method operation-details method account-info method Getting information about the status of the user account. Required permissions: account-info Input parameters None Returns If successful, returns a JSON document containing the following: account string User's account number. balance amount User's account balance. currency string User's account currency code. Always 643 (ruble of the Russian Federation by the ISO 4217 standard). account_status string The user's status. Possible values: anonymous anonymous account named named account identified identified account account_type string User's account type. Possible values: personal user account in Yandex.Money professional professional business account in Yandex.Money avatar object Link to the user's avatar. If the user's avatar is not set, the parameter is omitted. balance_details object Detailed information about the balance. By default, this section is omitted. This section appears if there are now or ever have been: deferred deposits negative balance blocked funds Details. cards_linked array Information about bank cards linked to the account.

21 21 If the account does not have any cards linked to it, the parameter is omitted. If the account has at least one card linked to it, the parameter contains a list of information about the linked cards. services_additional array List of additional services that are enabled. link_alfabank if the "Bank Connection" service for Alfa- Click is enabled, the value "alfabank" is set in the user profile link_openbank if the "Bank Connection" service for Otkritie Bank is enabled, the value "open" is set in the user profile If none of the services are enabled, the parameter is omitted. Parameters for the avatar object: url string Link to the user's avatar. ts datetime Timestamp of the last change to the avatar. Parameters of the balance_details object: total amount Total account balance. available amount Amount available for payments. deposition_pending amount The amount of funds pending deposit. If there are no pending deposits, the parameter is omitted. blocked amount The amount of funds blocked by authorities. If there are no blocked funds, the parameter is omitted. debt amount The amount owed (the negative balance on the account). If the balance is positive, this parameter is omitted. Parameters for the cards_linked object: pan_fragment string Masked card number. type string Card type. May be omitted if unknown. Possible values: VISA MasterCard AmericanExpress JCB Request example: POST /api/account-info HTTP/1.1 Host: money.yandex.ru Authorization: Bearer ABCDEF ABCDEF ABCDEF ABCDEF Content-Type: application/x-www-form-urlencoded Content-Length: 0 Response example:

22 22 "account":" ", "balance": , "currency":"643", "account_status":"anonymous", "account_type":"personal", "avatar": "url":" normal", "ts":" t20:43: :00", "cards_linked":[ "pan_fragment":"510000******9999", "type" : "MasterCard" ], "services_additional":[ "link_alfabank" ] operation-history method This method allows viewing the full or partial history of operations in page mode. History records are displayed in reverse chronological order (from most recent to oldest). Required permissions: operation-history. Input parameters type string List of operation types to display (see the table). Types in the list are separated by a space. If omitted, all operations are displayed. label string Filtering payments by the label value. Payments are selected that have the specified value for the label parameter in the request-payment call. from datetime Output operations FROM a timestamp (operations that were later than or equal to the from value). If omitted, all operations are displayed. till datetime Output operations TO a timestamp (operations that were earlier than the till value). If omitted, all operations are displayed. start_record string If this parameter is present, displays all operations starting from the number start_record. Operations are numbered starting from 0 (see the note). records int Page size, number of history records in response. Accepted values: from 1 to 100; by default 30. details boolean Show operation details. By default, false. To display operation details, the operation-details permission is required. Operation types: Type deposition payment incoming-transfersunaccepted Deposits (income). Payments (expenditure). Unaccepted incoming P2P transfers of any type.

23 23 Tip: The logic used for filtering history records. History records are filtered by the conditions: type of operation payment label time period All the conditions are additive, meaning each condition adds further restriction. Rules for selecting data by time period: 1. If both the from and till conditions are set, records are selected for the time period equal to or greater than from and less than till. 2. If both the from and till conditions are set, records are selected for the time period equal to or greater than from and less than till. 3. If only the till condition is set, records are selected with a time less than till. 4. If both the from and till conditions are omitted, records are selected without time restrictions. If the operation history contains a large number of records, the list of operations is displayed in page mode. The first page of the history is displayed by default. If there are additional pages, the next_record parameter appears in the response (this parameter is omitted if there is only a single page). To display the next page of the history, repeat the request with the same parameters and add the start_record parameter, specifying the value from the next_record parameter of the previous response. To get a larger selection of records in the time period, form a request with the from and till conditions, get the first page of the history, then form requests for the subsequent pages of the history with the same values for the from and till parameters, as well as the start_record parameter with the value that was obtained from the next_record parameter in the response for the previous page of the history. Returns The method returns the following parameters: error string Error code. Present if an error occurred when executing the request. next_record string The number of the first history record on the next page. Present if there is another page in the history operations (see Notes). operations array List of operations. Operation parameters: operation_id string Operation ID. status string Status of the payment (transfer). Accepts the following values: success Payment completed successfully. refused Payment was declined by the recipient or canceled by the sender. in_progress Payment is not yet complete; the transfer has not been accepted by the recipient, or is waiting for the secret code to be entered. datetime datetime Operation timestamp (date and time).

24 24 title string Brief description of the operation (usually contains the merchant name or source of deposit). pattern_id string The ID of the pattern used for making the payment. Present only for payments. direction string Direction of financial transaction. Can take the values: in (income). out (expenditure). amount amount Operation amount. label string Payment label. Exists for incoming and outgoing transfers made by other Yandex.Money users that had the label parameter set for the requestpayment call. type string The type of operation. Possible types of operations: Type payment-shop outgoing-transfer deposition incoming-transfer incoming-transfer-protected Outgoing payment to a merchant Any type of outgoing P2P transfer Credit Incoming transfer or deferred transfer. The necessity of an incoming-transfer-accept/incomingtransfer-reject call is determined by the status=in_progress field. Incoming transfer with a secret code. The necessity of an incoming-transfer-accept/incomingtransfer-reject call is determined by the status=in_progress field. Tip: If the value of the details input parameter is set to true, the response will also contain operation-details output parameters for operations. Operation processing error codes: Code illegal_param_type illegal_param_start_record illegal_param_records illegal_param_label illegal_param_from illegal_param_till all other values Invalid value for the type parameter. Invalid value for the start_record parameter. Invalid value for the records parameter. Invalid value for the label parameter. Invalid value for the from parameter. Invalid value for the till parameter. Technical error; repeat the operation again later. Note: If the operation history contains a large number of records, the list of operations is displayed in page mode. The first page of the history is displayed by default. If there are additional pages, the next_record parameter appears in the response (this parameter is omitted if there is only a single page).

25 25 To display the next page of the history, repeat the request with the same parameters and add the start_record parameter, specifying the value from the next_record parameter of the previous response. Requesting complete history Example of requesting the complete history: POST /api/operation-history HTTP/1.1 Host: money.yandex.ru Authorization: Bearer ABCDEF ABCDEF ABCDEF ABCDEF Content-Type: application/x-www-form-urlencoded Content-Length: 9 records=3 Example request for the next pages of the payment history: POST /api/operation-history HTTP/1.1 Host: money.yandex.ru Authorization: Bearer ABCDEF ABCDEF ABCDEF ABCDEF Content-Type: application/x-www-form-urlencoded Content-Length: 40 type=payment&records=20&start_record=120 Example response for the complete history: "next_record" : "4", operations : [ "operation_id" : " ", "status" : "success", "pattern_id" : "2904", "direction" : "out", "amount" : , "datetime" : " T20:43: :00", "title" : "Payment for ADSL access to company XXX", "type" : "payment-shop", "operation_id" : " ", "status" : "success", "pattern_id" : "2901", "direction" : "out", "amount" : , "datetime" : " T20:43: :00", "title" : "Direct phone account top-up YYY", "type" : "payment-shop", "operation_id" : " ", "status" : "success", "direction" : "in", "amount" : , "datetime" : " T20:40: :00", "title" : "Bank ZZZ, deposit", "type" : "deposit" ] Example response with details on operations when paying a merchant:

26 26 "next_record" : "2", operations : [ "operation_id" : " ", "status" : "success", "pattern_id" : "2904", "direction" : "out", "amount" : , "datetime" : " T20:43: :00", "title" : "Payment for ADSL access to company XXX", "details" : "Prepayment of ADSL Internet access to company XXX\nCustomer account no.: \n /89\npayment amount: \nTransaction number: ", "type" : "payment-shop" ] Example response with details of the operation for an outgoing transfer to another user: "next_record" : "2", operations : [ "operation_id" : " ", "status" : "success", "pattern_id" : "p2p", "direction" : "out", "amount" : 50.25, "datetime" : " T20:43: :00", "title" : "Transfer to account ", "recipient" : " ", "recipient_type" : "account", "message" : "Buy donuts", "comment" : "Transfer to Yandex.Money user", "codepro" : false, "details" : "Recipient account:\n \namount: 50,00 rubles", "type" : "outgoing-transfer" ] Example response for invalid parameter: "error" : "illegal_param_type" operation-details method Provides detailed information about a particular operation from the history. Required permissions: operation-details. Input parameters operation_id string Operation ID. The value of the parameter should be set like the value of the operation_id parameter from the operation-history method response; if the buyer's account history is being requested, it should be like the payment_id value from the process-payment method response.

27 27 Returns The method returns the following parameters: error string Error code, present only if an error occurred. operation_id string Operation ID. The value of the parameter corresponds to either the value of the operation_id parameter from the operation-history response, or, if the buyer's account history is being requested, the value of the payment_id field from the process-payment response. status string Status of the payment (transfer). The parameter value matches the value of the status field in the response to the operation-history method. pattern_id string Payment Pattern ID. Present only for payments. direction string Direction of financial transaction. Can take the values: in (income). out (expenditure). amount amount Amount of the operation (amount deducted from the account). amount_due amount Amount to receive. Present for outgoing transfers to other users. fee amount Commission amount. Present for outgoing transfers to other users. datetime datetime Operation timestamp (date and time). title string Brief description of the operation (usually contains the merchant name or source of deposit). sender string Account number that funds were transferred from. Present for incoming transfers from other users. recipient string ID of the transfer recipient. Present for outgoing transfers to other users. recipient_type string Type of ID used for the transfer recipient. Present for outgoing transfers to other users. message string Message for the transfer recipient. Present for transfers from other users. comment string Comments on the transfer (for the sender). Present in the sender's transfer history. codepro boolean The transfer is protected by a secret code. Present for transfers from other users. protection_code string Secret code. Present for outgoing transfers to other users that have a secret code. expires datetime Date and time when the secret code expires. Present for incoming and outgoing transfers from/to other users that have a secret code. answer_datetime datetime Date and time when a transfer protected by a secret code was accepted or canceled. Present for incoming and outgoing transfers from/to other users that have a secret code. If the transfer has not yet been accepted or refused by the recipient, this field is omitted. label string Payment label. Exists for incoming and outgoing transfers made by other Yandex.Money users that had the label parameter set for the requestpayment call. details string Detailed payment description. String in any format that may contain any symbols or line feeds. type string The type of operation. For possible types of operations, see the description of the operation-history method. digital_goods object Data about a digital product (PIN codes and bonuses for games, itunes, XBox, etc). This field is present for a successful payment to merchants of digital goods. For a description of the format, see the section Digital goods. For outgoing transfers to other users, the ID type for the transfer recipient is present:

28 28 Code account phone If an error occurs, its code is returned: Code illegal_param_operation_id all other values Recipient's account number in Yandex.Money Recipient's linked mobile phone number Recipient's address Invalid value for the operation_id parameter. Technical error; call the method again later. Request example: POST /api/operation-details HTTP/1.1 Host: money.yandex.ru Authorization: Bearer ABCDEF Content-Type: application/x-www-form-urlencoded Content-Length: 20 operation_id= Response example for payment to a merchant: "operation_id" : " ", "status" : "success", "pattern_id" : "2904", "amount" : , "direction" : "out", "datetime" : " T20:43: :00", "title" : "Payment for ADSL access to My Provider Company", "details" : "Prepayment of ADSL Internet access to Company \"XYZ\"\nCustomer account no.: \n /89\npayment amount: \nTransaction number: ", "type" : "payment-shop" Example response for an outgoing transfer to another user: "operation_id" : " ", "status" : "success", "pattern_id" : "p2p", "direction" : "out", "amount" : 50.25, "datetime" : " T20:43: :00", "title" : "Transfer to account ", "recipient" : " ", "recipient_type" : "account", "message" : "Buy donuts", "comment" : "Transfer from Yandex.Money user", "codepro" : false, "details" : "Recipient account:\n \namount: 50,00 rubles", "type" : "payment-shop" Response example for nonexistent operation request: "error" : "illegal_param_operation_id"

29 29 Payments from the Yandex.Money wallet Payment flow in Yandex.Money: 1. Payments are processed based on the Payment Pattern with user parameters specified. Each merchant has its own set of user parameters. The application must show the user (buyer) a form requesting the payment parameters that are required by this merchant, such as the payment amount, phone number, contract number, and so on. 2. The application sends a payment request containing the Payment Pattern ID and the parameters entered by the user. The Yandex.Money server checks the payment parameters and verifies that payments can be made to the merchant, then returns the payment request ID and payment contract text. 3. The application shows the payment contract text to the buyer, and the buyer is to approve or reject the payment. 4. If the buyer confirmed the payment, the application sends a request to confirm payment specifying the ID of the request received earlier using the request-payment method. Note: 1. The funds are withdrawn from the buyer's account when the process-payment method is called. 2. If the process-payment call is repeated with the same parameters, the method returns the state of the previous call. 3. If the connection is lost or times out, or there are other network problems, the application must repeat the request with the same parameters. Possible types of payment: payment to a merchant transfer of funds to other users' accounts accepting incoming transfers (with a secret code or deferred transfers) refusing incoming transfers (with a secret code or deferred transfers) topping up a mobile phone account test payments for debugging your application request-payment method Creates a payment, checks parameters and verifies that the merchant can accept the payment, or that funds can be transferred to a Yandex.Money user account. Permissions required for making a payment to a merchant: payment.to-pattern (Payment Pattern) or paymentshop. Permissions required for transferring funds to the accounts of other users: payment.to-account ("payee ID," "ID type") or payment-p2p.

30 30 Arguments for making a payment to a merchant pattern_id string Payment Pattern ID. * string User parameters for the Payment Pattern that are required by the merchant. Arguments for transferring funds to the accounts of other users pattern_id string Constant value: p2p. to string ID of the transfer recipient (account number, phone number, or ). amount amount Amount to pay. amount_due amount Amount to receive. comment string Payment comment, displayed in the sender's history. message string Comments on the transfer (displayed to the recipient). label string Payment label. Optional parameter. codepro boolean The true value indicates that the transfer is protected by a secret code. Omitted by default (normal transfer). hold_for_pickup boolean Indicates that deferred transfer (sending a transfer and holding it until it can be credited) is allowed. If the parameter is present and is set to true, this is deferred transfer mode. expire_period int Number of days during which: a transfer recipient can enter the secret code and receive the transfer to the account a deferred transfer recipient can receive the transfer The parameter value must be between 1 and 365. Optional parameter. By default, 1. Tip: The transfer amount is credited to the recipient minus the transfer fee. The sender of the transfer can set only one of these parameters: amount payment amount that will be deducted from the sender's account amount_due received amount that will be credited to the recipient's account Tip: Any transfer can have a "payment label" assigned to it. A payment label is a type of ID that is assigned by the application. As a result, you can select transfers in the history using a certain label. For example, you can use a code or an item ID from your application as a payment label. Labels up to 64 symbols long are allowed. Label values are case-sensitive. Input parameters for mobile phone service payment pattern_id string Constant value: phone-topup.

OAuth 2.0 Developers Guide. Ping Identity, Inc. 1001 17th Street, Suite 100, Denver, CO 80202 303.468.2900

OAuth 2.0 Developers Guide. Ping Identity, Inc. 1001 17th Street, Suite 100, Denver, CO 80202 303.468.2900 OAuth 2.0 Developers Guide Ping Identity, Inc. 1001 17th Street, Suite 100, Denver, CO 80202 303.468.2900 Table of Contents Contents TABLE OF CONTENTS... 2 ABOUT THIS DOCUMENT... 3 GETTING STARTED... 4

More information

EHR OAuth 2.0 Security

EHR OAuth 2.0 Security Hospital Health Information System EU HIS Contract No. IPA/2012/283-805 EHR OAuth 2.0 Security Final version July 2015 Visibility: Restricted Target Audience: EHR System Architects EHR Developers EPR Systems

More information

How To Use Kiteworks On A Microsoft Webmail Account On A Pc Or Macbook Or Ipad (For A Webmail Password) On A Webcomposer (For An Ipad) On An Ipa Or Ipa (For

How To Use Kiteworks On A Microsoft Webmail Account On A Pc Or Macbook Or Ipad (For A Webmail Password) On A Webcomposer (For An Ipad) On An Ipa Or Ipa (For GETTING STARTED WITH KITEWORKS DEVELOPER GUIDE Version 1.0 Version 1.0 Copyright 2014 Accellion, Inc. All rights reserved. These products, documents, and materials are protected by copyright law and distributed

More information

AIRTEL INDIA OPEN API. Application Developer Guide for OAuth2 Authentication and Authorization. Document Version 1.1

AIRTEL INDIA OPEN API. Application Developer Guide for OAuth2 Authentication and Authorization. Document Version 1.1 AIRTEL INDIA OPEN API Application Developer Guide for OAuth2 Authentication and Authorization Document Version 1.1 This Application Developer Guide has been prepared for Airtel India. Copyright Intel Corporation

More information

Fairsail REST API: Guide for Developers

Fairsail REST API: Guide for Developers Fairsail REST API: Guide for Developers Version 1.02 FS-API-REST-PG-201509--R001.02 Fairsail 2015. All rights reserved. This document contains information proprietary to Fairsail and may not be reproduced,

More information

ACR Connect Authentication Service Developers Guide

ACR Connect Authentication Service Developers Guide ACR Connect Authentication Service Developers Guide Revision History Date Revised by Version Description 29/01/2015 Sergei Rusinov 1.0 Authentication using NRDR account Background The document describes

More information

Login with Amazon. Developer Guide for Websites

Login with Amazon. Developer Guide for Websites Login with Amazon Developer Guide for Websites Copyright 2014 Amazon Services, LLC or its affiliates. All rights reserved. Amazon and the Amazon logo are trademarks of Amazon.com, Inc. or its affiliates.

More information

MONETA.Assistant API Reference

MONETA.Assistant API Reference MONETA.Assistant API Reference Contents 2 Contents Abstract...3 Chapter 1: MONETA.Assistant Overview...4 Payment Processing Flow...4 Chapter 2: Quick Start... 6 Sandbox Overview... 6 Registering Demo Accounts...

More information

Force.com REST API Developer's Guide

Force.com REST API Developer's Guide Force.com REST API Developer's Guide Version 35.0, Winter 16 @salesforcedocs Last updated: December 10, 2015 Copyright 2000 2015 salesforce.com, inc. All rights reserved. Salesforce is a registered trademark

More information

Contents. 2 Alfresco API Version 1.0

Contents. 2 Alfresco API Version 1.0 The Alfresco API Contents The Alfresco API... 3 How does an application do work on behalf of a user?... 4 Registering your application... 4 Authorization... 4 Refreshing an access token...7 Alfresco CMIS

More information

Axway API Gateway. Version 7.4.1

Axway API Gateway. Version 7.4.1 O A U T H U S E R G U I D E Axway API Gateway Version 7.4.1 3 February 2016 Copyright 2016 Axway All rights reserved. This documentation describes the following Axway software: Axway API Gateway 7.4.1

More information

Traitware Authentication Service Integration Document

Traitware Authentication Service Integration Document Traitware Authentication Service Integration Document February 2015 V1.1 Secure and simplify your digital life. Integrating Traitware Authentication This document covers the steps to integrate Traitware

More information

Oracle Fusion Middleware Oracle API Gateway OAuth User Guide 11g Release 2 (11.1.2.4.0)

Oracle Fusion Middleware Oracle API Gateway OAuth User Guide 11g Release 2 (11.1.2.4.0) Oracle Fusion Middleware Oracle API Gateway OAuth User Guide 11g Release 2 (11.1.2.4.0) July 2015 Oracle API Gateway OAuth User Guide, 11g Release 2 (11.1.2.4.0) Copyright 1999, 2015, Oracle and/or its

More information

Authenticate and authorize API with Apigility. by Enrico Zimuel (@ezimuel) Software Engineer Apigility and ZF2 Team

Authenticate and authorize API with Apigility. by Enrico Zimuel (@ezimuel) Software Engineer Apigility and ZF2 Team Authenticate and authorize API with Apigility by Enrico Zimuel (@ezimuel) Software Engineer Apigility and ZF2 Team About me Enrico Zimuel (@ezimuel) Software Engineer since 1996 PHP Engineer at Zend Technologies

More information

ipayment Gateway API (IPG API)

ipayment Gateway API (IPG API) ipayment Gateway API (IPG API) Accepting e-commerce payments for merchants Version 3.2 Intercard Finance AD 2007 2015 Table of Contents Version control... 4 Introduction... 5 Security and availability...

More information

Device Token Protocol for Persistent Authentication Shared Across Applications

Device Token Protocol for Persistent Authentication Shared Across Applications Device Token Protocol for Persistent Authentication Shared Across Applications John Trammel, Ümit Yalçınalp, Andrei Kalfas, James Boag, Dan Brotsky Adobe Systems Incorporated, 345 Park Avenue, San Jose,

More information

QIWI Wallet Pull Payments API

QIWI Wallet Pull Payments API QIWI Wallet QIWI Wallet Pull Payments API Version 2.1 Table of contents 1. Introduction... 2 1.1. Purpose of the API... 2 1.2. Things to Know About QIWI Wallet... 2 2. QIWI Wallet Interface... 3 2.1. Creating

More information

OAuth: Where are we going?

OAuth: Where are we going? OAuth: Where are we going? What is OAuth? OAuth and CSRF Redirection Token Reuse OAuth Grant Types 1 OAuth v1 and v2 "OAuth 2.0 at the hand of a developer with deep understanding of web security will likely

More information

Secure XML API Integration Guide - Periodic and Triggered add in

Secure XML API Integration Guide - Periodic and Triggered add in Secure XML API Integration Guide - Periodic and Triggered add in Document Control This is a control document DESCRIPTION Secure XML API Integration Guide - Periodic and Triggered add in CREATION DATE 15/05/2009

More information

OAuth 2.0. Weina Ma Weina.Ma@uoit.ca

OAuth 2.0. Weina Ma Weina.Ma@uoit.ca OAuth 2.0 Weina Ma Weina.Ma@uoit.ca Agenda OAuth overview Simple example OAuth protocol workflow Server-side web application flow Client-side web application flow What s the problem As the web grows, more

More information

GoCoin: Merchant integration guide

GoCoin: Merchant integration guide GoCoin: Merchant integration guide More information can be found at help.gocoin.com Preface This guide is intended for Merchants who wish to use the GoCoin API to accept and process payments in Cryptocurrency.

More information

Table of Contents. Open-Xchange Authentication & Session Handling. 1.Introduction...3

Table of Contents. Open-Xchange Authentication & Session Handling. 1.Introduction...3 Open-Xchange Authentication & Session Handling Table of Contents 1.Introduction...3 2.System overview/implementation...4 2.1.Overview... 4 2.1.1.Access to IMAP back end services...4 2.1.2.Basic Implementation

More information

Description of Microsoft Internet Information Services (IIS) 5.0 and

Description of Microsoft Internet Information Services (IIS) 5.0 and Page 1 of 10 Article ID: 318380 - Last Review: July 7, 2008 - Revision: 8.1 Description of Microsoft Internet Information Services (IIS) 5.0 and 6.0 status codes This article was previously published under

More information

Login with Amazon. Getting Started Guide for Websites. Version 1.0

Login with Amazon. Getting Started Guide for Websites. Version 1.0 Login with Amazon Getting Started Guide for Websites Version 1.0 Login with Amazon: Getting Started Guide for Websites Copyright 2016 Amazon Services, LLC or its affiliates. All rights reserved. Amazon

More information

Secure XML API Integration Guide. (with FraudGuard add in)

Secure XML API Integration Guide. (with FraudGuard add in) Secure XML API Integration Guide (with FraudGuard add in) Document Control This is a control document DESCRIPTION Secure XML API Integration Guide (with FraudGuard add in) CREATION DATE 02/04/2007 CREATED

More information

Salesforce1 Mobile Security Guide

Salesforce1 Mobile Security Guide Salesforce1 Mobile Security Guide Version 1, 1 @salesforcedocs Last updated: December 8, 2015 Copyright 2000 2015 salesforce.com, inc. All rights reserved. Salesforce is a registered trademark of salesforce.com,

More information

Nuance Mobile Developer Program. HTTP Services for Nuance Mobile Developer Program Clients

Nuance Mobile Developer Program. HTTP Services for Nuance Mobile Developer Program Clients Nuance Mobile Developer Program HTTP Services for Nuance Mobile Developer Program Clients Notice Nuance Mobile Developer Program HTTP Services for Nuance Mobile Developer Program Clients Copyright 2011

More information

vcloud Air Platform Programmer's Guide

vcloud Air Platform Programmer's Guide vcloud Air Platform Programmer's Guide vcloud Air OnDemand 5.7 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition.

More information

Title page. Alcatel-Lucent 5620 SERVICE AWARE MANAGER 13.0 R7

Title page. Alcatel-Lucent 5620 SERVICE AWARE MANAGER 13.0 R7 Title page Alcatel-Lucent 5620 SERVICE AWARE MANAGER 13.0 R7 APPLICATION API DEVELOPER GUIDE 3HE-10590-AAAA-TQZZA Issue 1 December 2015 Legal notice Legal notice Alcatel, Lucent, Alcatel-Lucent and the

More information

MiGS Virtual Payment Client Integration Guide. July 2011 Software version: MR 27

MiGS Virtual Payment Client Integration Guide. July 2011 Software version: MR 27 MiGS Virtual Payment Client Integration Guide July 2011 Software version: MR 27 Copyright MasterCard and its vendors own the intellectual property in this Manual exclusively. You acknowledge that you must

More information

OAuth2lib. http://tools.ietf.org/html/ietf-oauth-v2-10 implementation

OAuth2lib. http://tools.ietf.org/html/ietf-oauth-v2-10 implementation OAuth2lib http://tools.ietf.org/html/ietf-oauth-v2-10 implementation 15 Julio 2010 OAuth2 - Assertion Profile Library! 3 Documentation! 4 OAuth2 Assertion Flow! 4 OAuth Client! 6 OAuth Client's Architecture:

More information

Dell One Identity Cloud Access Manager 8.0.1 - How to Develop OpenID Connect Apps

Dell One Identity Cloud Access Manager 8.0.1 - How to Develop OpenID Connect Apps Dell One Identity Cloud Access Manager 8.0.1 - How to Develop OpenID Connect Apps May 2015 This guide includes: What is OAuth v2.0? What is OpenID Connect? Example: Providing OpenID Connect SSO to a Salesforce.com

More information

PROCESS TRANSACTION API

PROCESS TRANSACTION API PROCESS TRANSACTION API Document Version 8.7 May 2015 For further information please contact Digital River customer support at (888) 472-0811 or support@beanstream.com. 1 TABLE OF CONTENTS 2 Lists of tables

More information

OAuth 2.0: Theory and Practice. Daniel Correia Pedro Félix

OAuth 2.0: Theory and Practice. Daniel Correia Pedro Félix OAuth 2.0: Theory and Practice Daniel Correia Pedro Félix 1 whoami Daniel Correia Fast learner Junior Software Engineer Passionate about everything Web-related Currently working with the SAPO SDB team

More information

API Integration Payment21 Recurring Billing

API Integration Payment21 Recurring Billing API Integration Payment21 Recurring Billing The purpose of this document is to describe the requirements, usage, implementation and purpose of the Payment21 Application Programming Interface (API). The

More information

HTTP Protocol. Bartosz Walter <Bartek.Walter@man.poznan.pl>

HTTP Protocol. Bartosz Walter <Bartek.Walter@man.poznan.pl> HTTP Protocol Bartosz Walter Agenda Basics Methods Headers Response Codes Cookies Authentication Advanced Features of HTTP 1.1 Internationalization HTTP Basics defined in

More information

E*TRADE Developer Platform. Developer Guide and API Reference. October 24, 2012 API Version: v0

E*TRADE Developer Platform. Developer Guide and API Reference. October 24, 2012 API Version: v0 E*TRADE Developer Platform Developer Guide and API Reference October 24, 2012 API Version: v0 Contents Getting Started... 5 Introduction... 6 Architecture... 6 Authorization... 6 Agreements... 7 Support

More information

Cofred Automated Payments Interface (API) Guide

Cofred Automated Payments Interface (API) Guide Cofred Automated Payments Interface (API) Guide For use by Cofred Merchants. This guide describes how to connect to the Automated Payments Interface (API) www.cofred.com Version 1.0 Copyright 2015. Cofred.

More information

Cloud Elements! Marketing Hub Provisioning and Usage Guide!

Cloud Elements! Marketing Hub Provisioning and Usage Guide! Cloud Elements Marketing Hub Provisioning and Usage Guide API Version 2.0 Page 1 Introduction The Cloud Elements Marketing Hub is the first API that unifies marketing automation across the industry s leading

More information

Bank and SecurePay Response Codes

Bank and SecurePay Response Codes Bank and SecurePay s Last updated: 19/07/2013 Bank s for Credit Card Transactions APPROVED 00 Approved 08 Honour with ID 11 Approved VIP (not used) 16 Approved, Update Track 3 (not used) 77 Approved (ANZ

More information

Authorization and Authentication

Authorization and Authentication CHAPTER 2 Cisco WebEx Social API requests must come through an authorized API consumer or API client and be issued by an authenticated Cisco WebEx Social user. The Cisco WebEx Social API uses the Open

More information

Bitcoin Payment Gateway API

Bitcoin Payment Gateway API Bitcoin Payment Gateway API v0.3 BitPay, Inc. https://bitpay.com 2011-2012 BITPAY, Inc. All Rights Reserved. 1 Table of Contents Introduction Activating API Access Invoice States Creating an Invoice Required

More information

AS DNB banka. DNB Link specification (B2B functional description)

AS DNB banka. DNB Link specification (B2B functional description) AS DNB banka DNB Link specification (B2B functional description) DNB_Link_FS_EN_1_EXTSYS_1_L_2013 Table of contents 1. PURPOSE OF THE SYSTEM... 4 2. BUSINESS PROCESSES... 4 2.1. Payment for goods and services...

More information

Programming Autodesk PLM 360 Using REST. Doug Redmond Software Engineer, Autodesk

Programming Autodesk PLM 360 Using REST. Doug Redmond Software Engineer, Autodesk Programming Autodesk PLM 360 Using REST Doug Redmond Software Engineer, Autodesk Introduction This class will show you how to write your own client applications for PLM 360. This is not a class on scripting.

More information

Message Containers and API Framework

Message Containers and API Framework Message Containers and API Framework Notices Copyright 2009-2010 Motion Picture Laboratories, Inc. This work is licensed under the Creative Commons Attribution-No Derivative Works 3.0 United States License.

More information

Order Notifications - reporting a payment status

Order Notifications - reporting a payment status Corporate Gateway Order Notifications - reporting a payment status V5.0 May 2014 Use this guide to: Understand order notifications. Learn how to use the Order Notification Service. New to Order Notifications?

More information

Lecture Notes for Advanced Web Security 2015

Lecture Notes for Advanced Web Security 2015 Lecture Notes for Advanced Web Security 2015 Part 6 Web Based Single Sign-On and Access Control Martin Hell 1 Introduction Letting users use information from one website on another website can in many

More information

ipay Checkout API (IPC API)

ipay Checkout API (IPC API) ipay Checkout API (IPC API) Accepting e-commerce payments for merchants Version 2.1 Intercard Finance AD 2007 2013 Table of Contents Introduction... 9 Scope... 10 the merchant / commercial decision makers...

More information

2015-11-30. Web Based Single Sign-On and Access Control

2015-11-30. Web Based Single Sign-On and Access Control 0--0 Web Based Single Sign-On and Access Control Different username and password for each website Typically, passwords will be reused will be weak will be written down Many websites to attack when looking

More information

Hosted Credit Card Forms Implementation Guide

Hosted Credit Card Forms Implementation Guide Hosted Credit Card Forms Implementation Guide Merchant implementation instructions to integrate to the Setcom s hosted credit card forms. Covers: fraud screening, Verified by Visa, MasterCard SecureCode

More information

Audi Virtual Payment Client Integration Manual

Audi Virtual Payment Client Integration Manual Audi Virtual Payment Client Integration Manual 1 Table of Contents Table of Contents... 2 Introduction:... 3 Intended Audience:... 3 AVPC Payment Requests Processing... 3 AVPC required parameters... 3

More information

Netswipe Processing Implementation

Netswipe Processing Implementation Netswipe Processing Implementation Direct Integration with Jumio s Payment Gateway Revision History Version Date published Description 1.0.0 November 22 nd, 2011 Initial release. 1.0.1 January 12 th, 2012

More information

Web Application Firewall

Web Application Firewall Web Application Firewall Getting Started Guide August 3, 2015 Copyright 2014-2015 by Qualys, Inc. All Rights Reserved. Qualys and the Qualys logo are registered trademarks of Qualys, Inc. All other trademarks

More information

Fleet Connectivity Extension

Fleet Connectivity Extension Fleet Connectivity Extension Developer's Guide Version 1.0 Fleet Connectivity Extension Developer's Guide 2 Contents Contents Legal Notices...3 Document Information... 4 Chapter 1: Overview... 5 What is

More information

Enterprise Toolbar User s Guide. Revised March 2015

Enterprise Toolbar User s Guide. Revised March 2015 Revised March 2015 Copyright Notice Trademarks Copyright 2007 DSCI, LLC All rights reserved. Any technical documentation that is made available by DSCI, LLC is proprietary and confidential and is considered

More information

HireDesk API V1.0 Developer s Guide

HireDesk API V1.0 Developer s Guide HireDesk API V1.0 Developer s Guide Revision 1.4 Talent Technology Corporation Page 1 Audience This document is intended for anyone who wants to understand, and use the Hiredesk API. If you just want to

More information

Direct Post. Integration Guide

Direct Post. Integration Guide Direct Post Integration Guide Updated September 2013 Table of Contents 1 Introduction... 4 1.1 What is Direct Post?... 4 1.2 About this Guide... 4 1.3 Features and Benefits... 4 1.4 Card Types Accepted...

More information

Using ArcGIS with OAuth 2.0. Aaron Parecki @aaronpk CTO, Esri R&D Center Portland

Using ArcGIS with OAuth 2.0. Aaron Parecki @aaronpk CTO, Esri R&D Center Portland Using ArcGIS with OAuth 2.0 Aaron Parecki @aaronpk CTO, Esri R&D Center Portland Before OAuth Apps stored the user s password Apps got complete access to a user s account Users couldn t revoke access to

More information

Online signature API. Terms used in this document. The API in brief. Version 0.20, 2015-04-08

Online signature API. Terms used in this document. The API in brief. Version 0.20, 2015-04-08 Online signature API Version 0.20, 2015-04-08 Terms used in this document Onnistuu.fi, the website https://www.onnistuu.fi/ Client, online page or other system using the API provided by Onnistuu.fi. End

More information

Manual. Netumo NETUMO HELP MANUAL WWW.NETUMO.COM. Copyright Netumo 2014 All Rights Reserved

Manual. Netumo NETUMO HELP MANUAL WWW.NETUMO.COM. Copyright Netumo 2014 All Rights Reserved Manual Netumo NETUMO HELP MANUAL WWW.NETUMO.COM Copyright Netumo 2014 All Rights Reserved Table of Contents 1 Introduction... 0 2 Creating an Account... 0 2.1 Additional services Login... 1 3 Adding a

More information

Protocolo HTTP. Web and HTTP. HTTP overview. HTTP overview

Protocolo HTTP. Web and HTTP. HTTP overview. HTTP overview Web and HTTP Protocolo HTTP Web page consists of objects Object can be HTML file, JPEG image, Java applet, audio file, Web page consists of base HTML-file which includes several referenced objects Each

More information

Implementation guide - Interface with the payment gateway PayZen 2.5

Implementation guide - Interface with the payment gateway PayZen 2.5 Implementation guide - Interface with the payment gateway PayZen 2.5 Document version 3.5 Contents 1. HISTORY OF THE DOCUMENT... 4 2. GETTING IN TOUCH WITH TECHNICAL SUPPORT... 6 3. DIFFERENT TYPES OF

More information

FF/EDM Intro Industry Goals/ Purpose Related GISB Standards (Common Codes, IETF) Definitions d 4 d 13 Principles p 6 p 13 p 14 Standards s 16 s 25

FF/EDM Intro Industry Goals/ Purpose Related GISB Standards (Common Codes, IETF) Definitions d 4 d 13 Principles p 6 p 13 p 14 Standards s 16 s 25 FF/EDM Intro Industry Goals/ Purpose GISB defined two ways in which flat files could be used to send transactions and transaction responses: interactive and batch. This section covers implementation considerations

More information

Cloud Elements! Events Management BETA! API Version 2.0

Cloud Elements! Events Management BETA! API Version 2.0 Cloud Elements Events Management BETA API Version 2.0 Event Management Version 1.0 Event Management Cloud Elements Event Management provides a uniform mechanism for subscribing to events from Endpoints

More information

Portal Administration. Administrator Guide

Portal Administration. Administrator Guide Portal Administration Administrator Guide Portal Administration Guide Documentation version: 1.0 Legal Notice Legal Notice Copyright 2013 Symantec Corporation. All rights reserved. Symantec, the Symantec

More information

IoT-Ticket.com. Your Ticket to the Internet of Things and beyond. IoT API

IoT-Ticket.com. Your Ticket to the Internet of Things and beyond. IoT API IoT-Ticket.com Your Ticket to the Internet of Things and beyond IoT API Contents 1 Introduction... 4 1.1 Overview... 4 1.2 Abbreviations and definitions... 4 1.3 Data Model... 4 1.4 General Information...

More information

Virtual Payment Client Integration Reference. April 2009 Software version: 3.1.21.1

Virtual Payment Client Integration Reference. April 2009 Software version: 3.1.21.1 Virtual Payment Client Integration Reference April 2009 Software version: 3.1.21.1 Copyright MasterCard and its vendors own the intellectual property in this Manual exclusively. You acknowledge that you

More information

Web Services Credit Card Errors A Troubleshooter

Web Services Credit Card Errors A Troubleshooter Web Services Credit Card Errors A Troubleshooter January 2012 This manual and accompanying electronic media are proprietary products of Optimal Payments plc. They are to be used only by licensed users

More information

reference: HTTP: The Definitive Guide by David Gourley and Brian Totty (O Reilly, 2002)

reference: HTTP: The Definitive Guide by David Gourley and Brian Totty (O Reilly, 2002) 1 cse879-03 2010-03-29 17:23 Kyung-Goo Doh Chapter 3. Web Application Technologies reference: HTTP: The Definitive Guide by David Gourley and Brian Totty (O Reilly, 2002) 1. The HTTP Protocol. HTTP = HyperText

More information

CUSTOMER Android for Work Quick Start Guide

CUSTOMER Android for Work Quick Start Guide Mobile Secure Cloud Edition Document Version: 1.0 2016-01-25 CUSTOMER Content 1 Introduction to Android for Work.... 3 2 Prerequisites....4 3 Setting up Android for Work (Afaria)....5 4 Setting up Android

More information

Web 2.0 Lecture 9: OAuth and OpenID

Web 2.0 Lecture 9: OAuth and OpenID Web 2.0 Lecture 9: OAuth and OpenID doc. Ing. Tomáš Vitvar, Ph.D. tomas@vitvar.com @TomasVitvar http://www.vitvar.com Leopold-Franzens Universität Innsbruck and Czech Technical University in Prague Faculty

More information

IBM WebSphere Application Server

IBM WebSphere Application Server IBM WebSphere Application Server OAuth 2.0 service provider and TAI 2012 IBM Corporation This presentation describes support for OAuth 2.0 included in IBM WebSphere Application Server V7.0.0.25. WASV70025_OAuth20.ppt

More information

OPENID AUTHENTICATION SECURITY

OPENID AUTHENTICATION SECURITY OPENID AUTHENTICATION SECURITY Erik Lagercrantz and Patrik Sternudd Uppsala, May 17 2009 1 ABSTRACT This documents gives an introduction to OpenID, which is a system for centralised online authentication.

More information

SOPG (Service Oriented Prepaid Gateway - xml based protocol) Documentation. Version Date Description Author

SOPG (Service Oriented Prepaid Gateway - xml based protocol) Documentation. Version Date Description Author CLASSIC PAYMENT API SOPG (Service Oriented Prepaid Gateway - xml based protocol) Documentation Version history Version Date Description Author 0.1 2013-10-03 Initial draft Paul Kneidinger 0.2 2013-20-03

More information

An Oracle White Paper June 2014. RESTful Web Services for the Oracle Database Cloud - Multitenant Edition

An Oracle White Paper June 2014. RESTful Web Services for the Oracle Database Cloud - Multitenant Edition An Oracle White Paper June 2014 RESTful Web Services for the Oracle Database Cloud - Multitenant Edition 1 Table of Contents Introduction to RESTful Web Services... 3 Architecture of Oracle Database Cloud

More information

Service for checking whether an email is operative or not. Validate email ids in your databases.

Service for checking whether an email is operative or not. Validate email ids in your databases. MailStatus API Service for checking whether an email is operative or not. Validate email ids in your databases. Overview Lleida.net MailStatus API allows you to consult the validity of an email address.

More information

Web Services Credit Card Errors A Troubleshooter

Web Services Credit Card Errors A Troubleshooter Web Services Credit Card Errors A Troubleshooter March 2011 This manual and accompanying electronic media are proprietary products of Optimal Payments plc. They are to be used only by licensed users of

More information

NASDAQ Web Security Entitlement Installation Guide November 13, 2007

NASDAQ Web Security Entitlement Installation Guide November 13, 2007 November 13, 2007 Table of Contents: Copyright 2006, The Nasdaq Stock Market, Inc. All rights reserved.... 2 Chapter 1 - Entitlement Overview... 3 Hardware/Software Requirements...3 NASDAQ Workstation...3

More information

JASPERREPORTS SERVER WEB SERVICES GUIDE

JASPERREPORTS SERVER WEB SERVICES GUIDE JASPERREPORTS SERVER WEB SERVICES GUIDE RELEASE 5.0 http://www.jaspersoft.com JasperReports Server Web Services Guide Copyright 2012 Jaspersoft Corporation. All rights reserved. Printed in the U.S.A. Jaspersoft,

More information

A Standards-based Mobile Application IdM Architecture

A Standards-based Mobile Application IdM Architecture A Standards-based Mobile Application IdM Architecture Abstract Mobile clients are an increasingly important channel for consumers accessing Web 2.0 and enterprise employees accessing on-premise and cloud-hosted

More information

SIP Messages. 180 Ringing The UA receiving the INVITE is trying to alert the user. This response MAY be used to initiate local ringback.

SIP Messages. 180 Ringing The UA receiving the INVITE is trying to alert the user. This response MAY be used to initiate local ringback. SIP Messages 100 Trying This response indicates that the request has been received by the next-hop server and that some unspecified action is being taken on behalf of this call (for example, a database

More information

SmarterMeasure Inbound Single Sign On (SSO) Version 1.3 Copyright 2010 SmarterServices, LLC / SmarterServices.com PO Box 220111, Deatsville, AL 36022

SmarterMeasure Inbound Single Sign On (SSO) Version 1.3 Copyright 2010 SmarterServices, LLC / SmarterServices.com PO Box 220111, Deatsville, AL 36022 SmarterMeasure Inbound Single Sign On (SSO) Version 1.3 Copyright 2010 SmarterServices, LLC / SmarterServices.com PO Box 220111, Deatsville, AL 36022 Contents 1. Revision History... 3 2. Overview... 3

More information

Blackbaud Merchant Services Web Portal Guide

Blackbaud Merchant Services Web Portal Guide Blackbaud Merchant Services Web Portal Guide 06/11/2015 Blackbaud Merchant Services Web Portal US 2015 Blackbaud, Inc. This publication, or any part thereof, may not be reproduced or transmitted in any

More information

Batch Processing. Specification. Version 4.1. 110.0087 SIX Payment Services

Batch Processing. Specification. Version 4.1. 110.0087 SIX Payment Services Batch Processing Specification Version 4.1 110.0087 SIX Payment Services Contents 1 Introduction... 3 1.1 Requirements... 3 1.2 Security and PCI DSS... 3 1.3 Other Information... 4 1.4 Supported Payment

More information

EMS E-COMMERCE GATEWAY API TECHNICAL INSTALLATION MANUAL FEBRUARY 2016

EMS E-COMMERCE GATEWAY API TECHNICAL INSTALLATION MANUAL FEBRUARY 2016 EMS E-COMMERCE GATEWAY API TECHNICAL INSTALLATION MANUAL FEBRUARY 2016 CONTENTS 1 Introduction 6 2 Artefacts You Need 7 3 How the API works 8 4 Sending transactions to the gateway 10 5 Building Transactions

More information

.NET Standard DateTime Format Strings

.NET Standard DateTime Format Strings .NET Standard DateTime Format Strings Specifier Name Description d Short date pattern Represents a custom DateTime format string defined by the current ShortDatePattern property. D Long date pattern Represents

More information

Transport Layer Security Protocols

Transport Layer Security Protocols SSL/TLS 1 Transport Layer Security Protocols Secure Socket Layer (SSL) Originally designed to by Netscape to secure HTTP Version 2 is being replaced by version 3 Subsequently became Internet Standard known

More information

Three Step Redirect API V2.0 Patent Pending

Three Step Redirect API V2.0 Patent Pending Three Step Redirect API V2.0 Patent Pending Contents Three Step Redirect Overview... 4 Three Step Redirect API... 4 Detailed Explanation... 4 Three Step Transaction Actions... 7 Step 1... 7 Sale/Auth/Credit/Validate/Offline

More information

INTEGRATION GUIDE. DIGIPASS Authentication for Google Apps using IDENTIKEY Federation Server

INTEGRATION GUIDE. DIGIPASS Authentication for Google Apps using IDENTIKEY Federation Server INTEGRATION GUIDE DIGIPASS Authentication for Google Apps using IDENTIKEY Federation Server Disclaimer Disclaimer of Warranties and Limitation of Liabilities All information contained in this document

More information

www.novell.com/documentation Jobs Guide Identity Manager 4.0.1 February 10, 2012

www.novell.com/documentation Jobs Guide Identity Manager 4.0.1 February 10, 2012 www.novell.com/documentation Jobs Guide Identity Manager 4.0.1 February 10, 2012 Legal Notices Novell, Inc. makes no representations or warranties with respect to the contents or use of this documentation,

More information

Web Services Credit Card Errors A Troubleshooter

Web Services Credit Card Errors A Troubleshooter Web Services Credit Card Errors A Troubleshooter January 2014 This manual and accompanying electronic media are proprietary products of Optimal Payments plc. They are to be used only by licensed users

More information

Platron API. Technical description. version 3.5

Platron API. Technical description. version 3.5 Platron API Technical description version 3.5 2 Contents Contents... 3 Version History... 5 The Goal of the Service... 10 Payment Scenario... 10 General Principles of Interaction Between Merchant and Platron...

More information

Login and Pay with Amazon Integration Guide

Login and Pay with Amazon Integration Guide Login and Pay with Amazon Integration Guide 2 2 Contents...4 Introduction...5 Important prerequisites...5 How does Login and Pay with Amazon work?... 5 Key concepts...5 Overview of the buyer experience...

More information

Corporate Telephony Toolbar User Guide

Corporate Telephony Toolbar User Guide Corporate Telephony Toolbar User Guide 1 Table of Contents 1 Introduction...6 1.1 About Corporate Telephony Toolbar... 6 1.2 About This Guide... 6 1.3 Accessing The Toolbar... 6 1.4 First Time Login...

More information

Yandex.Widgets Quick start

Yandex.Widgets Quick start 17.09.2013 .. Version 2 Document build date: 17.09.2013. This volume is a part of Yandex technical documentation. Yandex helpdesk site: http://help.yandex.ru 2008 2013 Yandex LLC. All rights reserved.

More information

BlackShield ID Agent for Terminal Services Web and Remote Desktop Web

BlackShield ID Agent for Terminal Services Web and Remote Desktop Web Agent for Terminal Services Web and Remote Desktop Web 2010 CRYPTOCard Corp. All rights reserved. http:// www.cryptocard.com Copyright Copyright 2010, CRYPTOCard All Rights Reserved. No part of this publication

More information

Fax via HTTP (POST) Traitel Telecommunications Pty Ltd 2012 Telephone: (61) (2) 9032 2700. Page 1

Fax via HTTP (POST) Traitel Telecommunications Pty Ltd 2012 Telephone: (61) (2) 9032 2700. Page 1 Fax via HTTP (POST) Page 1 Index: Introduction:...3 Usage:...3 Page 2 Introduction: TraiTel Telecommunications offers several delivery methods for its faxing service. This document will describe the HTTP/POST

More information

Identity and Access Management (IdAM) Security Access Framework (SAF) for CDSS

Identity and Access Management (IdAM) Security Access Framework (SAF) for CDSS Identity and Access Management (IdAM) Security Access Framework (SAF) for CDSS Admin & Developer Documentation Version 3.0.3 October 30, 2015 Table of Contents Revision Index... 4 Introduction... 6 Intended

More information

1. Change Log... 3 2. Introduction... 4 3. Flow summary... 4 3.1 Flow Overview... 4 3.2 Premium SMS flow... 6 3.3 Pin Flow... 7 3.4 Redirect Flow...

1. Change Log... 3 2. Introduction... 4 3. Flow summary... 4 3.1 Flow Overview... 4 3.2 Premium SMS flow... 6 3.3 Pin Flow... 7 3.4 Redirect Flow... Payment API 1. Change Log... 3 2. Introduction... 4 3. Flow summary... 4 3.1 Flow Overview... 4 3.2 Premium SMS flow... 6 3.3 Pin Flow... 7 3.4 Redirect Flow... 8 3.5 SMS Handshake Flow... 9 4. One-time

More information