Payment cards
Get payment cards
Fetch details about the listed payment cards, in particular the Authorization state.
Request
[ApiBaseUrl]/api/distributor/v1/paymentCards/getAll
Response
Payment card
Id
string
required
Unique identifier of the payment card.
Authorization state
Authorized
- Finite state. The payment card has been authorized.Authorizable
- Non-finite state. The payment card can be authorized.Unauthorizable
- Finite state. The payment card cannot be authorized.
Authorize payment card
Request authorization of the specified payment card.
Request
[ApiBaseUrl]/api/distributor/v1/paymentCards/authorize
EnterpriseId
string
required
Unique identifier of the enterprise which has access to the payment card.
PaymentCardId
string
required
Unique identifier of the payment card.
Browser info
JavaEnabled
boolean
required
Value of the browser information on whether Java is enabled. This will always be false
.
Response
Id
string
required
Unique identifier of the payment card authorization attempt.
PaymentCardId
string
required
Unique identifier of the payment card being authorized.
Authorization request state
Authorized
- Finite state. The payment card authorization has been successfully completed.Requested
- Non-finite state. The payment card authorization is requested from the user.Pending
- Non-finite state. The payment card authorization is waiting to be requested from the user.Declined
- Finite state. The payment card authorization has been declined.Canceled
- Finite state. The payment card authorization has been canceled.
Last updated