Skip to Content
Paycose Docs
Payouts

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

  • idstringRequired

    Unique identifier for the object.

  • objectstringRequired

    String naming the object's type.

  • livemodebooleanRequired

    true when the object exists in live mode, false in test mode.

  • createdtimestampRequired

    Time the object was created, in Unix seconds.

  • updatedtimestampRequired

    Time the object last changed, in Unix seconds.

  • customer_idstringRequired

    ID of the customer linked to the paid account, kept for older integrations; empty when there is none.

  • bank_account_idstringRequired

    ID of the bank account the payout pays into.

  • crypto_payout_destinationstring
  • balance_idstringRequired

    ID of the balance the payout draws on; empty for a payout to a connected account, which is paid from your own payout provider account.

  • amountintegerRequired

    Amount of the payout, in the currency's smallest unit (for example 49900 = 499.00 THB).

  • application_fee_amountintegerRequired

    Application fee kept from the payout, in the currency's smallest unit; 0 when none.

  • accountstring | object (account)RequiredExpandable

    ID of the account (acct_…) paid out: your own account or a connected account.

  • application_feestringRequiredNullable

    ID of the application fee taken from the payout; null when none.

  • planestringRequired

    Where the payout's money comes from.

    • custodial

      Paid from your Paycose balance.

    • memo

      Paid from your own payout provider account; Paycose only records it.

  • connected_settlementstringRequiredNullable

    ID of the settlement this payout recorded, lowering what you owe the connected account; null when it recorded none.

  • batchstringRequiredNullable

    ID of the payout batch (pob_…) the payout belongs to; null when it is not part of one.

  • batch_errorstring

    Why the batch's last attempt to send this payout failed. Omitted when there was no failure.

  • methodstringRequired

    How fast the payout is paid.

    • standard

      Paid on the normal schedule, without a payout fee.

    • instant

      Paid at once for a fee (fee_amount).

  • automaticbooleanRequired

    true when Paycose's daily automatic payout run created the payout.

  • fee_amountintegerRequired

    Paycose's fee for an instant payout, in the currency's smallest unit; 0 for a standard payout.

  • net_amountintegerRequired

    Amount that reaches the bank account: amount minus application_fee_amount and fee_amount, in the currency's smallest unit.

  • currencystringRequired

    Three-letter ISO 4217 currency code, in lowercase.

  • scaling_factorintegerRequired

    Number of smallest units in one unit of the currency, for example 100 for THB. Divide an amount by it to get major units.

  • manualobjectRequiredNullable

    Proof of a payout paid by hand; null when there is none.

    Show child attributes
    • manual.file_idstringRequired

      ID of the uploaded proof of transfer, such as a bank slip; empty when none was uploaded.

    • manual.reference_idstringRequired

      Reference of the manual transfer, such as the bank's transaction reference; empty when none was given.

    • manual.verifiedbooleanRequired

      true once an uploaded transfer slip has been checked and accepted.

  • approved_bystringRequired

    ID of whoever approved the payout: a user, or system; empty until approved.

  • approved_by_typestringRequired

    Kind of approver; empty until the payout is approved.

    • account

      Approved by a Paycose operator.

    • merchant

      Approved by you, when you created a payout to a connected account.

    • system

      Approved automatically by Paycose, as for instant and automatic payouts.

  • approved_attimestampRequiredNullable

    When the payout was approved, in Unix seconds; null until then.

  • request_sent_to_bank_attimestampRequiredNullable

    When the payout provider reported sending the money to the bank, in Unix seconds; null until then.

  • instruction_statestringRequired

    Progress of the transfer instruction sent to the payout provider; empty until the payout is approved.

    • instructing

      The transfer instruction is being sent to the payout provider.

    • instructed

      The provider accepted the instruction, or the payout was approved to be paid by hand.

    • unknown

      The provider's answer was unclear; Paycose checks the outcome and retries.

    • remitted

      The money was paid out.

    • reversed

      The approved payout failed or was canceled, and its money was returned.

    • released

      The payout was canceled or failed before approval, and the money held for it was released.

  • statusstringRequired

    Status of the payout.

    • waiting_for_approval

      Created and waiting to be approved before it is sent.

    • pending

      Approved and handed to the payout provider, or approved to be paid by hand, but not sent yet.

    • sent

      The payout provider reported sending the money to the bank.

    • paid

      The money arrived.

    • failed

      The payout failed; money it took from your balance is returned.

    • canceled

      The payout was canceled before it was paid; money it took from your balance is returned.

  • paidbooleanRequired

    true once the money has arrived.

  • sentbooleanRequired

    true once the payout provider reported sending the money to the bank. A payout paid without such a report becomes true when it is paid.

  • canceledbooleanRequired

    true when the payout was canceled, including when it was rejected.

  • failedbooleanRequired

    true when the payout failed.

  • failure_codestringRequired

    Code for why the payout failed or was canceled, such as rejected or instruction_rejected; empty otherwise.

  • failure_messagestringRequired

    Message explaining failure_code; empty when there is none.

  • providerstringRequired

    Payout provider that sends, or sent, the payout; internal for a payout paid by hand.

  • reference_idstringRequired

    The payout provider's reference for the transfer; empty until the provider returns one.

  • metadataobjectRequired

    Key-value pairs you attach to the object for your own use. Paycose never reads or changes them.

  • customerobject (customer)NullableExpandable

    The customer linked to the paid account, when you expand customer.