Authorizations
Path Parameters
Response
Successful response
curl --request GET \
--url https://app.flowglad.com/api/v1/payments/{id} \
--header 'Authorization: <api-key>'
{
"payment": {
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"createdByCommit": "<string>",
"updatedByCommit": "<string>",
"invoiceId": "<string>",
"amount": "<any>",
"paymentMethod": "card",
"currency": "USD",
"status": "canceled",
"chargeDate": "<string>",
"settlementDate": "<string>",
"description": "<string>",
"receiptNumber": "<string>",
"receiptURL": "<string>",
"customerId": "<string>",
"purchaseId": "<string>",
"subscriptionId": "<string>",
"paymentMethodId": "<string>",
"billingPeriodId": "<string>",
"taxAmount": -1,
"subtotal": -1,
"taxType": "amusement_tax",
"taxCountry": "AF",
"taxState": "<string>",
"taxRatePercentage": "<string>",
"applicationFee": -1,
"refunded": true,
"refundedAmount": -1,
"refundedAt": "<string>",
"failureMessage": "<string>",
"failureCode": "<string>"
}
}
curl --request GET \
--url https://app.flowglad.com/api/v1/payments/{id} \
--header 'Authorization: <api-key>'
{
"payment": {
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"createdByCommit": "<string>",
"updatedByCommit": "<string>",
"invoiceId": "<string>",
"amount": "<any>",
"paymentMethod": "card",
"currency": "USD",
"status": "canceled",
"chargeDate": "<string>",
"settlementDate": "<string>",
"description": "<string>",
"receiptNumber": "<string>",
"receiptURL": "<string>",
"customerId": "<string>",
"purchaseId": "<string>",
"subscriptionId": "<string>",
"paymentMethodId": "<string>",
"billingPeriodId": "<string>",
"taxAmount": -1,
"subtotal": -1,
"taxType": "amusement_tax",
"taxCountry": "AF",
"taxState": "<string>",
"taxRatePercentage": "<string>",
"applicationFee": -1,
"refunded": true,
"refundedAmount": -1,
"refundedAt": "<string>",
"failureMessage": "<string>",
"failureCode": "<string>"
}
}
Successful response
Show child attributes
Was this page helpful?