Skip to main content
GET
Retrieve account refund
GET/////
Use the /accounts/{account_token}/refunds/{refund_token} endpoint to retrieve a refund.

URL path parameters

Response body

Sample response body

JSON

Authorizations

Authorization
string
header
required

Token used to verify user identity and also authorize user to use service

Path Parameters

account_token
string
required

Unique identifier of the credit account for which to retrieve a refund.

Send a GET request to /credit/accounts to retrieve existing credit account tokens.

refund_token
string
required

Unique identifier of the refund to retrieve.

Send a GET request to /credit/accounts/{account_token}/refunds/{refund_token} to retrieve existing refunds.

Response

Refund object

Detailed refund response object.

type
enum<string>
required

Type of refund.

Available options:
PAYMENT_REFUND,
CREDIT_BALANCE_REFUND
token
string
required

Unique identifier of the refund.

amount
number
required

Amount of the refund.

The maximum refund amount is the amount that brings the account balance to $0. For example, $4000 is the maximum refund amount for a -$4000 account balance.

method
enum<string>
required

Payment instrument used to issue the refund.

Available options:
ACH,
CHECK
status
enum<string>
required

Current status of the refund.

Available options:
INITIATED,
PENDING,
PROCESSING,
SUBMITTED,
CANCELLED,
COMPLETED,
RETURNED
created_time
string<date-time>
required

Date and time when the refund was created.

updated_time
string<date-time>
required

Date and time when the refund was last updated.

account_token
string
required

Unique identifier of the account for which the refund is issued.

Maximum string length: 36
currency_code
enum<string>
default:USD
required

Valid three-digit link:https://www.iso.org/iso-4217-currency-codes.html[ISO 4217 currency code, window="_blank"].

Available options:
USD
description
string

Description of the refund.

payment_source_token
string

Unique identifier of the payment source that receives the refunded amount.

Maximum string length: 36