Create a Direct Debit Collection
"Direct Debit Payment" in the API path refers to a direct debit collection transaction where funds are collected from the debtor account.
Test mode
With a test API key, some values make this endpoint succeed, fail or wait. See the test mode values for this endpoint.
authorizationAuthorizationBearer <SECRET_API_KEY>Set Your Secret API Key
A unique value, eg. a UUID.
application/jsonA positive integer value in the specified currency's smallest unit. e.g. for SGD, $10 would be represented as 1000 (cents). Must not be greater than the Direct Debit Authorization's maximum amount.
1 <= value <= 100000000Bearer of the bank charges: SENDER, RECEIVER, or SHARED. Applicable only for Hong Kong direct debit payments.
Value in
- "SENDER"
- "RECEIVER"
- "SHARED"
Three-letter ISO 4217 currency code in full uppercase. Must be the same as the Direct Debit Authorization's currency.
^SGD|MYR|HKD$A meaningful description of the debit/payment. For Singapore: this will show up in your payer's bank statement. For Malaysia and Hong Kong: this is purely for your own reference, and does not affect the statement. In test mode, set this to "fail" to simulate a failed debit/payment.
^[a-zA-Z0-9\-]+$1 <= length <= 35ID of a successful Direct Debit Authorization (status is SUCCEEDED) to use for this direct debit. This is required for pulling money from an external bank account via direct debit. Provide either this or directDebitAuthorizationInformation.
Information of a direct debit authorization maintained outside Acme. Provide either this or directDebitAuthorizationId. billReferenceNumber is the unique bill reference number of the authorized direct debit (required by the bank); payerBankAccountNumber is where the direct debit payment will be collected from; internalAccountId is the Internal Account the payment will be made to.
Type of the payment.
Value in
- "FAST"
- "MY_FPX"
- "HK_DDI"
OK
*/*A positive integer value in the specified currency's smallest unit. e.g. $10 would be represented as 1000 (cents).
int64The bank's main reference for this collection, the one that appears on the bank's transaction record. null until the bank returns it.
ID of the batch this collection belongs to, for batch collections.
Time at which the object was created. In ISO 8601 format.
Three-letter ISO 4217 currency code in full uppercase.
A meaningful description of the debit/payment. For Singapore: this will show up in your payer's bank statement. For Malaysia and Hong Kong: this is purely for your own reference, and does not affect the statement.
A Direct Debit Authorization ID, eg. dda_1234567. This is required for pulling money from an external bank account via direct debit. Only required for direct debits. In responses, this is the authorization the collection was created against, present when the collection used an Acme-maintained DDA.
Information of the externally maintained direct debit authorization. Included when directDebitAuthorizationId is null.
Unique identifier for the object. For UOB, the portion after the prefix (e.g. 0FS1FPAWHG0SG in dpymt_0FS1FPAWHG0SG) will appear as the Customer Reference in UOB Infinity. For HK Direct Debit, Acme sends the id to the bank as reference (e.g. dpymt_0KAQCK2Y8FNTB) for tracking.
Metadata of the direct debit payment.
Requested collection date (YYYY-MM-DD), for batch collections.
For FAILED payments with resultCode DUPLICATE_TRANSACTION, the status of the previous payment, if we know it.
The receiving account of the collection.
Additional information when status is FAILED, if available.
INVALID_AMOUNT: Requested debit amount is not valid. E.g. the amount is larger than the maximum amount allowed by the FAST network.TRANSACTION_LIMIT_EXCEEDED: Requested debit amount exceeds the transaction limit enforced by the bank (e.g. cumulative daily transaction limit).DIRECT_DEBIT_AUTHORIZATION_TERMINATED: Payer has terminated the Direct Debit Authorization.DIRECT_DEBIT_AUTHORIZATION_EXPIRED: Direct Debit Authorization has expired.PAYER_ACCOUNT_CLOSED: Payer's bank account has been closed.INSUFFICIENT_FUNDS: Payer's bank account does not have sufficient balance.DUPLICATE_TRANSACTION: This payment is not processed because it is a duplicate of a previous payment, ensure you use a unique customerReference.INVALID_CLEARING_CODE: Clearing code is invalid or contains invalid characters.OTHERS: Generic or unknown reason. If you need to find out more, reach out to Acme Support.
Status of the direct debit:
PROCESSING: This direct debit is being processed, and has not yet been submitted to the bank.SUBMITTED: This direct debit has been submitted to the bank for further processing.SUCCEEDED: The bank has accepted this direct debit for execution.FAILED: The bank has rejected this direct debit. Additional information may be available inresultCode.
Type of the payment.
A descriptive error message constructed from the bank's response, normally by concatenating the bank-provided error code and error message.
Time at which the object was last updated. In ISO 8601 format.
curl -X POST 'https://api.tryacme.com/v1/direct-debit-payments' \
-H 'Content-Type: application/json' \
-d '{
"customerReference": "string",
"type": "FAST"
}'Collects against an Acme-maintained eGIRO authorization. FAST collections settle within seconds, so the response is already SUCCEEDED.
{
"id": "dpymt_0J7Q7A2M8V5X1",
"type": "FAST",
"amount": 1250,
"currency": "SGD",
"directDebitAuthorizationId": "dda_0J7Q6A3M8V5X1",
"customerReference": "SUB-2026-09",
"receiver": {
"bankAccountNumber": "0052312891"
},
"status": "SUCCEEDED",
"resultCode": null,
"underlyingErrorMessage": null,
"bankReference": null,
"createdAt": "2026-09-09T03:00:14.557605Z",
"updatedAt": "2026-09-09T03:00:16.135109Z"
}