Payout Resource

The core of this functionality revolves around the Payout Resource. This resource enables you to create payouts to saved credit cards without the need for a previously settled charge.

However, it is essential to have a card acquiring agreement in place that can handle such payouts.

Below, we describe the various components of the Payout Resource.


Payout Object

The Payout Object is structured as follows:

Name

Type

Description

Handle

String • Required

A unique reference for each payout, specific to your Frisbii account.

The handle should be a maximum of 255 characters and is recommended to be kept within 20 characters for reference on bank statements without truncation.

State

String • Required

This indicates the current state of the payout, which can be one of the following:

  • Created
  • Processing
  • Failed
  • Paid

Amount

Integer • Required

The payout amount, measured in the smallest currency unit.

Currency

String • Optional

An optional field that specifies the currency for the payout in ISO 4217 three-letter alpha code.

Text

String • Optional

Optional text associated with the payout.

Customer

String • Required

Customer handle associated with the payout.

Paid

String • Optional

The timestamp indicating when the payout was successfully paid in ISO-8601 extended offset date-time format.

Failed

String • Optional

The timestamp indicating when the payout failed in ISO-8601 extended offset date-time format.

Created

String • Required

The timestamp indicating when the payout was initially created in ISO-8601 extended offset date-time format.

Transactions

Array of PayoutTransaction • Required

A list of transactions related to the payout.


Payout Transaction

The PayoutTransaction is a component of the Payout Object and contains detailed information about each transaction.

It includes:

NameTypeDescription
IDStringA unique identifier for the transaction.
StateStringThe state of the transaction, which can be paid.
PayoutStringReference to the associated payout.
AmountIntegerThe amount of the transaction.
PaidStringThe timestamp indicating when the payout was successfully paid in ISO-8601 extended offset date-time format.
FailedStringThe timestamp indicating when the payout failed in ISO-8601 extended offset date-time format.
CardObjectDetailed information about the card used in the transaction, including its state, customer, reference, and more.
ErrorStringDescription of any error encountered during the transaction.
Card TypeStringThe type of card used, e.g., hard_declined.
Exp DateStringThe card's expiration date.
Masked CardStringA partially masked version of the card number.
Acquirer CodeStringThe acquirer code associated with the transaction.
Acquirer MessageStringA message from the acquirer, e.g., Card expired.
Acquirer ReferenceStringAn optional reference for the transaction at the acquirer.
Text on StatementStringOptional text to appear on the customer's bank statement.