Payment Account Object

A bank account of a beneficiary. A payout uses one payment account.

A payment account is a bank account of a beneficiary. A beneficiary can have more than one payment account. A payout uses one payment account, and each payment account belongs to one beneficiary.

A payment account has a status: processing, active or inactive.

Payment account fields

The create, read, list, update and deactivate endpoints return this resource.

FieldTypeDescription
referenceNostringThe payment account referenceNo from Durianpay, for example ppy_4kd9wq. Copy it exactly, prefix included.
beneficiaryReferenceNostringThe beneficiary that owns the account.
countrystringThe destination country of the corridor.
currencystringThe destination currency of the corridor.
payoutRailstringThe payout rail of the account (the payment network that pays the account), for example ACH.
accountHolderNamestringThe legal name of the account holder, when the corridor's requirements list it.
statusenumprocessing, active or inactive. See the status table below.
createdAttimestampThe time when the account was created, in ISO 8601 UTC.
{
  "responseCode": "2000000",
  "responseMessage": "Successful",
  "referenceNo": "ppy_4kd9wq",
  "beneficiaryReferenceNo": "par_7pq3m",
  "country": "US",
  "currency": "USD",
  "payoutRail": "ACH",
  "accountHolderName": "Acme Trading LLC",
  "status": "active",
  "createdAt": "2026-06-10T03:16:10Z"
}

accountDetails is the object with the account fields that you send to the Create Payment Account API. Its fields come from paymentAccount.fields of the Fetch Corridor Requirements API.

🚧

Keep your own copy of accountDetails

Update Payment Account API needs the full accountDetails, so keep the values that you sent.

When a payout can use the account

A new payout can use a payment account while all of these are true:

ConditionField to check
The account is active.The payment account status.
Its beneficiary is active.The beneficiary status. See Beneficiary Object.
Its corridor is in the corridor list.List Corridors API.

The account must also match the quote of the payout: the same country, currency and payout rail, and a beneficiary of the same type.

Payment account status

StatusDefinition
processingDurianpay checks the account. A new payout cannot use it yet.
activeA new payout can use the account, if its beneficiary is active and its corridor is in the corridor list.
inactiveA new payout cannot use the account. This is the status after you deactivate the account with DELETE /v1.0/global/payment-accounts/{referenceNo}.
  • Durianpay refuses the deactivation while a payout that uses the account is not yet completed, failed or refunded. Wait until the status of each of these payouts is completed, failed or refunded. Then call Deactivate Payment Account API again.
  • Payouts that already exist keep the account details from their creation.
  • If you send the details of an inactive account to Create Payment Account API, the API creates a new payment account. Durianpay does not use an inactive account for its duplicate check.