A payment intent allows an AndDone Ally to collect and confirm information about a payment on behalf of a sub-merchant before capturing the funds from the customer's account. The payment intent encapsulates details about the transaction, such as the amount to collect, the supported payment methods, the expiration time for the transaction, and whether the payment method is to be tokenized. The POST Create Ally Payment Intent method returns a payment token that is used to perform subsequent transactions.
|
URI
|
secure/paymentintents
|
|
Method
|
POST
|
|
Authorization
|
API Key Authorization
|
|
x-api-key
|
The API key ({env_merchantAccessKey}) associated with the AndDone Ally user who is submitting the transaction on the sub-merchant's behalf.
|
|
x-app-key
|
The Merchant ID ({env_merchantId}) of the Ally sub-merchant.
|
|
x-version
|
API version (e.g., 2.3)
|
|
Origin
|
URL or IP address provided to AndDone as an allowed origin.
|
|
Content-Type
|
application/json
|
Request Parameters
Body Request Example (JSON)
Response Parameters
Body Response Example (JSON)