Create
Create custom payment method schema
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
name
isSource
This payment method can be used as a payment source for an invoice
isDestination
This payment method can be used as a payment destination for an invoice
fields
supportedCurrencies
List of currencies that this payment method supports. If not provided, the payment method will support only USD.
estimatedProcessingTime
Estimated time in days for this payment method to process a payments. Set as 0 for same-day payment methods, -1 for unknown processing time.
maxAmount
The maximum amount that can be transferred from this payment method in a single transaction.
minAmount
The minimum amount that can be transferred from this payment method in a single transaction. Default is 1.
Response
This endpoint returns an object.
id
name
isSource
This payment method can be used as a payment source for an invoice
isDestination
This payment method can be used as a payment destination for an invoice
supportedCurrencies
List of currencies that this payment method supports.
fields
estimatedProcessingTime
Estimated time in days for this payment method to process a payments. 0 is an same-day payment methods, -1 is unknown processing time.
createdAt
updatedAt
maxAmount
The maximum amount that can be transferred from this payment method in a single transaction.
minAmount
The minimum amount that can be transferred from this payment method in a single transaction. Default is 1.