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 vendor refund payment for.
The UUID of the vendor refund to create a payment for.
Body
Parameters for creating a vendor refund payment.
Unique ID of the payment in your system for linking purposes. Idempotency key.
"payment-456"
Amount refunded to the business in cents.
Fee charged to the business for processing the refund in cents.
Time when the payment was completed.
Payment method used for the refund.
CASH
, CHECK
, CREDIT_CARD
, ACH
, CREDIT_BALANCE
, OTHER
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
Tags to associate with the payment.
Memo for any text you would like to associate with the vendor 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 vendor refund payment. Can be used to filter when listing vendor refund payments.
Response
Vendor refund payment has been successfully updated or unchanged.
A payment represents a transaction that moves value from a vendor to a business. A specific bill can be refunded or a general refund can be applied to a vendor.
Unique identifier for the payment.
Unique ID of the payment in your system for linking purposes. Idempotency key.
"payment-456"
Amount refunded to the business in cents.
Fee charged for the refund processing in cents.
Time when the payment was completed.
Method of the payment.
"ACH"
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.
Memo for any text you would like to associate with the vendor 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 vendor refund payment. Can be used to filter when listing vendor refund payments.