Payouts
The payout object
A payout sends money to a bank account: from your Paycose balance to your own bank account, or from your own payout provider account to a connected account's bank account.
Attributes
idstringRequiredUnique identifier for the object.
objectstringRequiredString naming the object's type.
livemodebooleanRequiredtruewhen the object exists in live mode,falsein test mode.createdtimestampRequiredTime the object was created, in Unix seconds.
updatedtimestampRequiredTime the object last changed, in Unix seconds.
customer_idstringRequiredID of the customer linked to the paid account, kept for older integrations; empty when there is none.
bank_account_idstringRequiredID of the bank account the payout pays into.
crypto_payout_destinationstringbalance_idstringRequiredID of the balance the payout draws on; empty for a payout to a connected account, which is paid from your own payout provider account.
amountintegerRequiredAmount of the payout, in the currency's smallest unit (for example 49900 = 499.00 THB).
application_fee_amountintegerRequiredApplication fee kept from the payout, in the currency's smallest unit;
0when none.ID of the account (
acct_…) paid out: your own account or a connected account.application_feestringRequiredNullableID of the application fee taken from the payout;
nullwhen none.planestringRequiredWhere the payout's money comes from.
custodialPaid from your Paycose balance.
memoPaid from your own payout provider account; Paycose only records it.
connected_settlementstringRequiredNullableID of the settlement this payout recorded, lowering what you owe the connected account;
nullwhen it recorded none.batchstringRequiredNullableID of the payout batch (
pob_…) the payout belongs to;nullwhen it is not part of one.batch_errorstringWhy the batch's last attempt to send this payout failed. Omitted when there was no failure.
methodstringRequiredHow fast the payout is paid.
standardPaid on the normal schedule, without a payout fee.
instantPaid at once for a fee (
fee_amount).
automaticbooleanRequiredtruewhen Paycose's daily automatic payout run created the payout.fee_amountintegerRequiredPaycose's fee for an instant payout, in the currency's smallest unit;
0for a standard payout.net_amountintegerRequiredAmount that reaches the bank account:
amountminusapplication_fee_amountandfee_amount, in the currency's smallest unit.currencystringRequiredThree-letter ISO 4217 currency code, in lowercase.
scaling_factorintegerRequiredNumber of smallest units in one unit of the currency, for example
100for THB. Divide an amount by it to get major units.manualobjectRequiredNullableProof of a payout paid by hand;
nullwhen there is none.Show child attributes
manual.file_idstringRequiredID of the uploaded proof of transfer, such as a bank slip; empty when none was uploaded.
manual.reference_idstringRequiredReference of the manual transfer, such as the bank's transaction reference; empty when none was given.
manual.verifiedbooleanRequiredtrueonce an uploaded transfer slip has been checked and accepted.
approved_bystringRequiredID of whoever approved the payout: a user, or
system; empty until approved.approved_by_typestringRequiredKind of approver; empty until the payout is approved.
accountApproved by a Paycose operator.
merchantApproved by you, when you created a payout to a connected account.
systemApproved automatically by Paycose, as for instant and automatic payouts.
approved_attimestampRequiredNullableWhen the payout was approved, in Unix seconds;
nulluntil then.request_sent_to_bank_attimestampRequiredNullableWhen the payout provider reported sending the money to the bank, in Unix seconds;
nulluntil then.instruction_statestringRequiredProgress of the transfer instruction sent to the payout provider; empty until the payout is approved.
instructingThe transfer instruction is being sent to the payout provider.
instructedThe provider accepted the instruction, or the payout was approved to be paid by hand.
unknownThe provider's answer was unclear; Paycose checks the outcome and retries.
remittedThe money was paid out.
reversedThe approved payout failed or was canceled, and its money was returned.
releasedThe payout was canceled or failed before approval, and the money held for it was released.
statusstringRequiredStatus of the payout.
waiting_for_approvalCreated and waiting to be approved before it is sent.
pendingApproved and handed to the payout provider, or approved to be paid by hand, but not sent yet.
sentThe payout provider reported sending the money to the bank.
paidThe money arrived.
failedThe payout failed; money it took from your balance is returned.
canceledThe payout was canceled before it was paid; money it took from your balance is returned.
paidbooleanRequiredtrueonce the money has arrived.sentbooleanRequiredtrueonce the payout provider reported sending the money to the bank. A payout paid without such a report becomestruewhen it is paid.canceledbooleanRequiredtruewhen the payout was canceled, including when it was rejected.failedbooleanRequiredtruewhen the payout failed.failure_codestringRequiredCode for why the payout failed or was canceled, such as
rejectedorinstruction_rejected; empty otherwise.failure_messagestringRequiredMessage explaining
failure_code; empty when there is none.providerstringRequiredPayout provider that sends, or sent, the payout;
internalfor a payout paid by hand.reference_idstringRequiredThe payout provider's reference for the transfer; empty until the provider returns one.
metadataobjectRequiredKey-value pairs you attach to the object for your own use. Paycose never reads or changes them.
The customer linked to the paid account, when you expand
customer.