| « PreviousNext » | |
![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
The multi-use token API creates a token that makes multiple payments without the sender having to repeatedly authorize payments. The payments can occur at any time; they don't have to be on a regularly recurring basis. This token works like a voucher and the parameters you include in the request govern the token's use, such as how much the token can pay per transaction, how much it can pay during its lifetime, when it expires, what kind of personal payment instruments it can accept, and the minimum payment it can make.
You can specify a maximum amount that can be charged over a period of time. Set
usageLimitType1 to Amount, and then use
usageLimitPeriod1 and usageLimitValue1 to set the
time period and maximum amount.
You can also specify a maximum number of charges that can occur over a period of time. Set
usageLimitType2 to Count, and then use
usageLimitPeriod2 and usageLimitValue2 to set the
time period and maximum number of charges.
|
Parameter |
Description |
Required |
|---|---|---|
|
|
The sender's shipping address. You might choose to collect the address on
your website and pass it to the CBUI. If you choose to collect the shipping
address yourself, you can use these parameters to specify it. This address
will be displayed to the sender on the payment authorization confirmation
page. See also the description of
Type: String Default: None |
No |
|
|
Specifies whether the amount specified by
Type: String Default: Valid Values: |
No |
|
|
A value you provide that uniquely identifies the request. For more information, see Important Values to Store in Your Database. Type: String Default: None Constraint: Max size = 128 bytes |
Yes |
|
|
If you set this value to Type: Boolean Default: Valid Values: |
No |
|
|
Specifies the currency of all amounts that this pipeline accepts. Type: String Default: Valid Values: |
No |
|
|
Specifies the maximum amount of money this token can be used for across all payments. Type: String |
Yes |
|
|
This parameter is for marketplace applications where the caller is different
from the recipient. If this value is set to Type: Boolean Valid Values: Default: |
No |
|
|
Specifies payment methods the recipient supports. Use Type: Comma-separated list Default: Valid Values: |
No |
|
|
Specifies the reason for this payment transaction. You can provide a limited set of HTML tags to format your text, including <b>, <i>, <u>, <ul>, <li>, <br>, <em>, <strong>, and <strike>. Other tags are ignored. Type: String |
No |
|
|
Specifies a comma-separated list of recipient token IDs (for the merchants who can receive payment with this token). If you create a merchant token list, you must include the recipient token ID for the caller in addition to any other tokens you add to the list. Type: String Default: Caller's recipient token ID Conditional: Required if | Conditional |
|
|
Specifies the amount payable in this transaction. Type: Double Condition: Required if you have specified
| Conditional |
|
|
See the description at the beginning of this topic for how to use this field. Type: String Valid Values: |
No |
|
|
If you specify
Type: String Default: Forever |
No |
|
|
Corresponds to the value for the parameter specified by
Type: String if
Condition: Required if you specify
| Conditional |
|
|
See the description at the beginning of this topic for how to use this field. Type: String Valid Values: |
No |
|
|
If you specify
Type: String Default: Forever |
No |
|
|
Corresponds to the value for the parameter specified by
Type: String if
Condition: Required if you specify
| Conditional |
|
|
Specifies when the token expires. Use UNIX epoch date format. Type: Date Default: If a value is not provided for this parameter, the expiration defaults to one year. Constraint: Date cannot be earlier than the current date | No |
|
|
Specifies when the token becomes valid. Use UNIX epoch date format. Type: Date Default: The current date Constraint: The validity start date should be within one year from the current date. The date cannot be beyond one year or earlier than the current date. | No |
The request also uses the parameters common to all Co-Branded service API requests. For more information, see Common Parameters.
|
Parameter |
Description |
|---|---|
|
|
The sender's shipping address. These parameters are returned only if
Type: String |
|
|
This is text in a human readable form that specifies the reason for a request failure. Type: String (LOB, Large Object) |
|
|
Specifies the expiry (if any) of the payment method. Type: String Size: 20 Bytes |
|
|
The status of the Co-Branded service request. Type: String Valid Values: See Status Codes. Size: 2 Bytes |
|
|
Specifies the token ID string associated with the token just created (installed). Type: String Size: 65 Bytes |
|
|
There might be cases when the sender token is installed successfully but there is an associated warning. This parameter denotes that warning. Type: String Valid Values: Size: 64 Bytes |
|
|
Specifies a human readable text that explains the warning corresponding to
the Type: String (LOB, Large Object) |
Responses also include parameters common to all responses. For more information, see Response Parameters.
|
Status Code |
Description |
|---|---|
|
SA |
Success status for the ABT payment method. |
|
SB |
Success status for the ACH (bank account) payment method. |
|
SC |
Success status for the credit card payment method. |
|
SE |
System error. |
|
A |
Buyer abandoned the pipeline. |
|
CE |
Specifies a caller exception. |
|
PE |
Payment Method Mismatch Error: Specifies that the buyer does not have the payment method you requested. |
|
NP |
There are several cases where the NP status is returned:
|
|
NM |
You are not registered as a third-party caller to make this transaction. Contact Amazon Payments for more information. |