Herald
OpenapiBilling

Get_payment_attempt_status

GET
/api/bill/purchase/payment-attempts/{attemptId}

Authorization

bearer_auth
headerAuthorizationBearer <token>

Path Parameters

attemptId*string

Payment Attempt ID

Formatuuid

Response Body

Payment attempt status retrieved

application/json
  1. response
amount*integer
Formatint64
completedAt?string|null
createdAt*string
currency*string
expiresAt*string
fulfillment?null|
id*string
Formatuuid
providerStatus?string|null
status*string
targetId*string
Formatuuid
targetType*string
Example Request
curl -X GET 'https://example.com/api/bill/purchase/payment-attempts/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{
  "amount": 0,
  "completedAt": "string",
  "createdAt": "string",
  "currency": "string",
  "expiresAt": "string",
  "fulfillment": null,
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "providerStatus": "string",
  "status": "string",
  "targetId": "cbca1126-180e-4334-9df8-cf82289d378b",
  "targetType": "string"
}