Skip to main content
POST
Release payment hold
POST//////
Manually release a payment hold on a credit account.

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 on which a payment hold is being released.

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

payment_token
string
required

Unique identifier of the payment currently on hold.

Send a GET request to /credit/accounts/{account_token}/payments to retrieve existing payment tokens.

Response

Expected response.

Response containing payment details with transition history.

token
string
required

Unique identifier of the payment.

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

amount
number
required

Total amount of the payment.

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

Method of payment.

Available options:
ACH,
CHECK,
DEBIT,
CASH,
SECURED_CARD
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
hold_days
integer
default:0
required

After a payment completes, the number of days to hold the available credit on the account before increasing it.

description
string
required

Description of the payment.

transitions
object[]
required

Contains one or more transitions objects, which contain information about a payment status transition.

created_time
string<date-time>
required

Date and time when the payment was created on Marqeta's credit platform, in UTC.

updated_time
string<date-time>
required

Date and time when the payment was last updated on Marqeta's credit platform, in UTC.

account_token
string
required

Unique identifier of the credit account on which the payment is made.

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
on_hold
boolean
default:false

Whether the available credit is on hold for this payment.

metadata
string

Customer-defined additional information about the payment (for example, a check number).

allocations
object[]

List of objects that contain information about how a payment is allocated.

ach_sec_code
enum<string> | null

ACH Standard Entry Class (SEC) code for this payment. Only applies to ACH payments where ACH is managed by Marqeta.

Available options:
WEB,
TEL
hold_end_time
string<date-time>

Date and time when the available credit hold is released.

refund_details
object | null

Contains details for a refund.

returned_details
object | null

Contains information on a returned payment.

ach_transfer_speed
enum<string> | null

Speed at which Marqeta-managed ACH transfers are settled. SAME_DAY triggers a same-day ACH transfer; NEXT_DAY is the standard speed.

Available options:
NEXT_DAY,
SAME_DAY
is_manually_released
boolean
default:false

Whether the available credit hold was manually released for this payment.

payment_source_token
string

Unique identifier of the payment source.

Required when method is ACH or SECURED_CARD.

payment_schedule_token
string

Unique identifier of the payment schedule.

program_migration_time
string<date-time>

Date and time when the statement summary was migrated to Marqeta's credit platform, in UTC.

The value of this field is null if it has not been migrated.

waive_returned_payment_fee
boolean

A value of true indicates that a returned payment fee should not be applied. The default value of this field is false.

This field is only considered when transitioning the status of the fee to REFUNDED.