Read the billing profile (contact + payment method on file).
GET
Secret API key operationId: get_profile/v1/billing/profile Authorization
Server-to-server. Send a secret key as a Bearer token plus the x-application-id header.
Responses
200 Billing profile
{
"data": {
"billing_email": "string",
"has_payment_method": false,
"payment_brand": "string",
"payment_last4": "string"
},
"error": {
"code": "string",
"message": "string"
},
"meta": {
"timestamp": "string"
},
"success": false
}Request
curl -X GET "http://localhost:8080/v1/billing/profile" \Try it
live requestGET
http://localhost:8080/v1/billing/profile