Payments
Get Virtual Debit Card
The get virtual debit card endpoint can be used to fetch the card details for a payment.
This endpoint is available for Card Rails (Virtual Debit Cards) only.
Refer to the Merchant API Guide for more information.
get/api/v1/payments/{paymentId}/card
Request
- Base URLhttps://secure-api.accruesavings.com
- Authnone declared. Required headers: Client-ID, Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
paymentIdstring uuid required
Payment ID
Example:123e4567-e89b-12d3-a456-426614174000
Headers
Client-IDstring uuid required
The unique identifier of the client making the request. This header is required to retrieve the client-specific configuration and ensure that the response is tailored to the client's settings and permissions.
Example:123e4567-e89b-12d3-a456-426614174000
Authorizationstring uuid required
Secure secret to access privileged endpoints.
Example:Bearer 633b336e4f57f095a405f6685e208cc7dd16de3e82494662f2acfeec3af1cdef
Response
OK
Example response
{
"data": {
"attributes": {
"number": "card_12a3b45cdefghi",
"expirationMonth": "6",
"expirationYear": "2028",
"cvc": "123",
"billingAddress": {
"street": "123 Main St.",
"street2": "Apt. 1",
"city": "San Francisco",
"state": "CA",
"postalCode": "94107",
"country": "US"
}
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.