Skip to main content
PUT
Update payment source
PUT///
Update details of a payment source.

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

token
string
required

Unique identifier of the payment source to retrieve.

Send a GET request to /credit/paymentsources to retrieve existing payment source tokens.

Body

application/json

Request used to update the status of a payment source.

status
enum<string>
required

Current status of the payment source.

Available options:
ACTIVE,
PENDING,
INACTIVE

Response

Response containing updated payment source

Contains information about a payment source.

name
string

Name of the individual or business who owns the payment source.

owner
enum<string>

Type of payment source owner.

Available options:
INDIVIDUAL,
BUSINESS
token
string

Unique identifier of the payment source.

status
enum<string>

Current status of the payment source.

Available options:
ACTIVE,
PENDING,
INACTIVE
metadata
object

Optional key-value pairs for storing additional information about the payment source.

bank_name
string | null

Name of the bank associated with the routing number.

user_token
string

Unique identifier of the user making the payment.

source_type
enum<string>

Type of payment source.

Available options:
CHECKING,
SAVINGS,
SECURED_ACCOUNT_FUND,
OTHER,
EXTERNAL
created_time
string<date-time>

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

account_token
string

Unique identifier of the credit account receiving the payment.

Maximum string length: 36
account_suffix
string

Last four digits of the payment source account number.

Maximum string length: 4
business_token
string

Unique identifier of the business making the payment.

routing_number
string

Routing number of the payment source.

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
last_modified_time
string<date-time>

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

verification_notes
string

Additional information on the verification (for example, an external verification identifier that's outside Marqeta's credit platform).

verification_status
enum<string>

Status of the verification for the payment source.

Available options:
ACH_VERIFIED,
PENDING
supporting_bank_account
object

Contains information about the bank account that supports a payment source.