Interactive API test
Create a new Payment Transaction example.
Authentication Notes
The Api-Key is already automatically added to the headers, so no authentication type required.
If you want to choose your preferred authentication type, follow these steps:
- Deselect the
Api-Keyheader and choose one of the following:- For
ApiKeyAuth, use:Api-Key vSUmxsXx.V81oYvOWFMcIywaOu57Utx6VSCmG11lo. - For
BasicAuth, provide your valid username and password. - For
JWT Auth, include your token in the format:Bearer <your_token>.
- For
Authorizations
AuthorizationstringRequired
HTTP API Key Authentication
API-Key authentication for private use only.
Example API-Key
vSUmxsXx.V81oYvOWFMcIywaOu57Utx6VSCmG11lo
Example Header:
Authorization: Api-Key vSUmxsXx.V81oYvOWFMcIywaOu57Utx6VSCmG11lo
Header parameters
AuthorizationstringRequiredDefault:
Private API key to be provided in the format Api-Key <key>.
Api-Key vSUmxsXx.V81oYvOWFMcIywaOu57Utx6VSCmG11loBody
Serializer to work with PaymentTransaction instances.
Also uses request data from other serializers to save into PaymentTransaction db table:
amountstring · decimalRequiredPattern:
^-?\d{0,7}(?:\.\d{0,3})?$currency_codestring · min: 1Required
pg_codesstring[]Required
typestring · enumRequiredPossible values:
e_commerce- Ecommercepayment_request- Payment Request
Responses
201Success
application/json
400Error
application/json
401Error
application/json
403Error
application/json
404Error
application/json
415Error
application/json
423Error
application/json
post
/b/checkout/v1/pymt-txn/Last updated