Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
The status of the payin.
scheduled
, canceled
"scheduled"
The payment amount, which can be specified in two ways:
- For fiat currency (
amountType
= "fiat"): Amount in cents (e.g. $49.99 = 4999 cents) - For tokens (
amountType
= "token"): Amount including decimal places (e.g. 1 USDC = 1000000 since USDC has 6 decimal places)
"599"
Specifies how to interpret the amount value:
- "fiat": Amount is in fiat currency cents (e.g. 4999 = $49.99)
- "token": Amount includes token decimal places (e.g. 1000000 = 1 USDC with 6 decimals)
Fiat
, Token
, fiat
, token
"fiat"
The date the payment should take place, represented as a Unix timestamp. To bill the payin immediately, set the value to 0
x >= 0
1716211200
The ID of the customer's payment method to use for this payin.
Note: Either this or customerId
must be provided. If both are provided, the paymentMethodId
takes precedence.
"89a4b012-c3d4-45e6-f789-012345678901"
(Optional) An invoice reference ID used to tie this payin to an invoice in an external system.
"inv_1234abcd"
(Optional) A description or note that provides additional detail about this payin. This can be used to help identify or provide details about the payment for internal reference or customer communications.
500
"Payment for Developer plan"
Response
Ok
The unique identifier for the payin
"8f47c6e9-2b3a-4d5c-9f8e-1a2b3c4d5e6f"
The unique identifier of the merchant this payin is associated with
"67e55044-10b1-426f-9247-bb680e5fe0c8"
The amount to be paid, specified in either fiat or crypto based on amountType
"100.00"
The type of the amount, either "fiat" or "token"
fiat
, token
"fiat"
The date the payment will take place, represented as a Unix timestamp
1716211200
The unique invoice identifier representing this payin transaction
"1234567890abcdef"
(Optional) A description or note that provides additional context about this payin. This can be used to help identify or provide details about the payment for internal reference or customer communications.
"Payment for Developer plan"
(Optional) The external invoice ID used to tie this payin to an invoice in an external system
"1234567890abcdef"
(Optional) The external subscription ID used to tie this payin to a subscription in an external system
"sub_1234abcd"
The type of the payin, either "subscription" or "invoice"
subscription
, invoice
"subscription"
The status of the payin, can be "scheduled", "pending", "completed", or "failed"
scheduled
, pending
, completed
, failed
, canceled
, uncollectible
, draft
"scheduled"
The transaction details for the payin
The payment method used for this payin
The payout destination used for this payin
The date the payin record was created, represented as a Unix timestamp in seconds.
1716211200