id
string

Unique identifier for this Payin Request.

reference
string

Reference sent in by merchant to identify Payin Request.

customerId
string

Reference to customer who owns the Payin Source from which the Payin Request was created.

customerDetails
object

Details about the customer who owns the Payin Source from which the Payin Request was created.

payinSourceId
string

Reference to Payin Source from which the Payin Request was created.

payinSourceDetails
object

Details about the Payin Source from which the Payin Request was created.

status
enum<string>

Status of the Payin Request.

Available options:
processing,
approved,
partial,
cancelled
statusMessage
enum<string>

Additional detail on the status. Only present when status is "cancelled".

Available options:
AUTHENTICATION_FAILED,
CUSTOMER_CANCELLATION,
DECLINED_BY_BANK,
EXPIRED,
INVALID_ACCOUNT,
NOT_ENOUGH_FUNDS,
ERROR
amount
number

Amount to collect from the customer’s Payin Source. Must be an integer.

amountCollected
number

Amount collected by Payin Request. Starts at 0 and changes on status change to "approved" or "partial".

fee
number

Fee charged for the transaction. This fee will be subtracted from amountCollected at settlement time.

targetMerchantAccountId
string

Reference to Merchant Account. Safe to ignore if Merchant Accounts are not being used.

createdAt
string

ISO string indicating when the payin request was created.

updatedAt
string

ISO string indicating when the payin request was last updated.