Payments

Create a payment

Creates a payment from the data sent in a POST request.

post/api/v1/purchase-payment

Request

  • Base URL: https://cdn.app.axl.tech (the document declares no server; this is the origin it was published from)
  • URL: https://cdn.app.axl.tech/api/v1/purchase-payment
  • Auth: API key in header Authorization

Request body

amountnumber double

Amount

feenumber double

Fee

gatewayIdstring nullable

Payment gateway ID

orderIdstring nullable

Order ID

paymentDatestring date-time

Payment date

status'pending' | 'waitingForCapture' | 'success' | 'canceled' | 'fail' | 'refund'

Status

Response

OK

successboolean

True if the error list is empty or missing, false otherwise.

bodystring nullable

An object of any type containing the main payload of the response (e.g. the data being returned)

resetTokenboolean

Tells the client that the authentication token must be reset.

Changes

No recorded changes to this operation across all 1 revision of this API.