| « PreviousNext » | |
![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
The sender uses the CBUI to authorize the payment. Upon the successful authorization, the CBUI
redirects the sender to the URL specified by the returnURL parameter in the
Co-Branded service request. When you parse this returned URI, you check the
status parameter and returnURL , among other values.
If the status is one of the success values, you need to send a request to start the purchase
transaction. Other values included in the URI include a pointer to the token, called the
SenderTokenId, stored on Amazon servers that contains the payment
instructions and is used to actually make the money transfer. The URI also includes a
CallerReferenceId, which is an ID the caller (developer) uses as a key
for a table that contains transaction. The URI also includes a transaction ID, which identifies
the transaction and can be used in API requests, such as Settle.
Amazon FPS provides two ways to charge the sender's payment instrument:
Pay—Immediately charges the sender's payment instrument, such as a credit card
Pay can accept all payment instrument types, including credit
card, bank account debit, and Amazon Payments withdrawal.
Reserve—Does not immediately charge the sender's credit card
Instead, the total price of the purchase is reserved against the payment instrument.
Reserve can only use a credit card payment instrument. To
complete the purchase, you must subsequently issue a Settle request,
which you usually do after you have fulfilled the order.
Process for Transacting a Payment Using Pay
| 1 |
Obtain the list of items the sender is purchasing from your website and derive the values required for the parameters in the Co-Branded service request. One of the parameters is Another parameter is For more information about the parameters, see Single-Use Token API. |
| 2 |
Implement on your website the equivalent of a Pay Now button so that it sends the Co-Branded service request. For more information, see Sending a Co-Branded Service Request. When the sender authorizes the payment in the CBUI, the service then
redirects the sender to the URL you specified in the
|
| 3 |
Parse the returned URI. In addition to the URL specified by |
| 4 |
If the The required parameters include Tip Both the Co-Branded service API and the Amazon FPS API use a parameter
called |
| 5 |
Parse the response. Two important values the |
| 6 |
Upon a successful transaction, add a task to your workflow to fulfill the order. |