Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
Content-Type must be set to application/json
Path Parameters
The UUID of the business to create a refund payment for.
The UUID of the refund to create a payment for.
Body
Parameters for creating a refund payment.
Amount refunded to the customer in cents.
Time when the payment was completed.
Payment method used for the refund.
CASH
, CHECK
, CREDIT_CARD
, ACH
, CREDIT_BALANCE
, OTHER
Unique ID of the payment in your system for linking purposes. Idempotency key.
"31415926535"
Fee charged to the business for processing the refund in cents.
Processor used to make the payment, if any. Any processor name can be provided and will be tracked. Supported processors (e.g. STRIPE
) will have additional asset balance tracking.
"STRIPE"
The the ledger account to use for the payment (overrides the default determined by the payment method) ID of the account
List of fees associated with this payment. These are refunded from the payment processor rather than the business.
Tags to associate with the payment.
Memo for any text you would like to associate with the refund payment.
Arbitrary custom metadata in JSON format with a size limit of 10KB
{
"custom_field": "value",
"any valid json": "below 10kb",
"nested": { "meaning of life": 42, "array": [] }
}
Any (typically user-visible) identifier you would like to associate with the refund payment. Can be used to filter when listing refund payments.
Response
Refund payment has been successfully updated or unchanged.
A payment represents a transaction that moves value from a customer to a business. A specific payment can be refunded or a general refund can be applied to an invoice.
Unique identifier for the payment.
Unique ID of the payment in your system for linking purposes. Idempotency key.
"31415926535"
Amount refunded to the customer in cents.
Fee charged for the refund in cents.
Time when the payment was completed.
Method of the payment.
"CREDIT_CARD"
Processor used for the payment.
"STRIPE"
The the ledger account to use for the payment (overrides the default determined by the payment method), if specified.
Refunded payment fees associated with the refund payment
Memo for any text you would like to associate with the refund payment (for example, to display to end users).
Arbitrary custom metadata in JSON format with a size limit of 10KB
{
"custom_field": "value",
"any valid json": "below 10kb",
"nested": { "meaning of life": 42, "array": [] }
}
Any (typically user-visible) identifier you would like to associate with the refund payment. Can be used to filter when listing refund payments.