Skip to main content

Secure Payments

Post Create Ally Payment Request

The Ally Secure Payments API enables an AndDone Ally to submit payment transactions on behalf of their sub-merchants. This API supports two types of payment transactions:

  • Payment Intent - This type of payment transaction is used when a payment intent has been generated for multi-step transactions. Payment Intent type transactions require a payment intent token.
  • Open Payment - An open payment is a single-step payment transaction that does not require a payment intent.

Webhook Notifications: This API supports webhook notifications for real-time tracking of payment transactions. To receive notifications, subscribe to the Transaction webhook module in the AndDone Merchant Portal. For detailed payload and event information, see Transaction Webhook Payloads.

API Endpoint
https://api.uat.anddone.com/secure/payments
API Data Details
URI secure/payments
Method POST
Authorization API Key Authorization
Authorization
x-api-key API key ({env_merchantAccessKey}) of the AndDone Ally who is submitting the transaction on the sub-merchant's behalf.
Request Headers
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

Field Name Data Type Mandatory Field Length Description

Body Request Example (JSON)

    
    

Response Parameters

Body Response Example (JSON)