Create Payment

Creates the payment transaction using a tokenized card.

For Basic Authentication, use SECRET API KEY. Learn more

The Create Payment endpoint supports two specifications:

  • Kount Buyer - Use when Kount Fraud Protection is enabled. All fields tagged as required must be provided; others are optional.
  • Basic Buyer – Use when Kount is NOT enabled. All fields are optional, but at least one valid field must be provided.

Body Params

Payment

string
required

The string token representing the card information (only relevant for card-based payments).

totalAmount
object
required

Contains the value and currency of the transaction.

buyer

Contains personal information regarding the buyer/payer of the transaction. By default, all information are optional (i.e. use Basic Buyer specification).
However, If the merchant is enabled to use Kount fraud protection, they must use Kount Buyer specification.

redirectUrl
object

Contains a list of redirect URLs of the merchant for specific events.

string
length between 1 and 36

The merchant's reference number for the transaction. It is strongly advised that the merchant provide unique value for this property for each transaction.

string
enum

For card transactions, it indicates the type of authorization applied. For more information, click this link.

Allowed:
metadata
object

Used to provide additional data to the transaction such a payment faciliator information.

Response

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json