Skip to Content
CollectionsDirect DebitCollections

Get 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.

GET
/v1/direct-debit-payments/{id}

Authorization

authorization
headerAuthorizationBearer <SECRET_API_KEY>

Set Your Secret API Key

Path Parameters

id*string

Response Body

OK

*/*
amount?integer

A positive integer value in the specified currency's smallest unit. e.g. $10 would be represented as 1000 (cents).

Format int64
bankReference?string

The bank's main reference for this collection, the one that appears on the bank's transaction record. null until the bank returns it.

batchId?string

ID of the batch this collection belongs to, for batch collections.

createdAt?string

Time at which the object was created. In ISO 8601 format.

currency?string

Three-letter ISO 4217 currency code in full uppercase.

customerReference?string

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.

directDebitAuthorizationId?string

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.

directDebitAuthorizationInformation?ExternalDirectDebitAuthorizationInfo

Information of the externally maintained direct debit authorization. Included when directDebitAuthorizationId is null.

id?string

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?DirectDebitPaymentMetadata

Metadata of the direct debit payment.

paymentDate?string

Requested collection date (YYYY-MM-DD), for batch collections.

previousPaymentStatus?string

For FAILED payments with resultCode DUPLICATE_TRANSACTION, the status of the previous payment, if we know it.

receiver?DirectDebitPaymentReceiver

The receiving account of the collection.

resultCode?string

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?string

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 in resultCode.
type?string

Type of the payment.

underlyingErrorMessage?string

A descriptive error message constructed from the bank's response, normally by concatenating the bank-provided error code and error message.

updatedAt?string

Time at which the object was last updated. In ISO 8601 format.

Example Request
curl -X GET 'https://api.tryacme.com/v1/direct-debit-payments/string'
Example Response

A collection the bank has accepted.

{
  "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"
}