Skip to main content
POST
Create balance refund
POST////
Create a new balance refund, which can be issued to the account holder if their credit account balance is negative.

URL path parameters

Request body

Sample request body

JSON

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 you want to create a balance refund.

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

Body

application/json

Contains details on a credit balance refund.

amount
number
required

Amount of the credit balance 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.

Required range: x >= 0.01
method
enum<string>
required

Payment instrument used to issue the refund.

Available options:
ACH,
CHECK
description
string
required

Description for the credit balance refund.

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
token
string

Unique identifier of the credit balance refund.

Response

Expected response.

Contains details on a credit balance refund.

token
string
required

Unique identifier of the credit balance refund.

If in the detail_object, unique identifier of the detail object.

amount
number
required

Amount of the credit balance 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 payment or refund.

Available options:
INITIATED,
PENDING,
PROCESSING,
SUBMITTED,
CANCELLED,
COMPLETED,
RETURNED,
REFUNDED,
SYS_ERROR,
ACH_ERROR
description
string
required

Description for the credit credit balance refund.

created_time
string<date-time>
required

Date and time when the credit balance refund was created.

updated_time
string<date-time>
required

Date and time when the credit balance refund was last updated.

account_token
string
required

Unique identifier of the credit account that needs the credit balance refund.

Maximum string length: 36