Create a payment

Create a payment. Authentication Key Type: SalesChannelApiKey

Body Params
string
enum
required

Payment source, allowed values are card, card_token, payment_intent, network_token. If card is used the card object must be set, if card_token or payment_intent is used, the card_token or intent_token string must be set with a token from the Tokenization API, Payment Intent API or Tokenization JavaScript.

Allowed:
string

Your metadata 1 for order (max 255 characters)

string

Your metadata 2 for order (max 255 characters)

boolean
Defaults to true

Indicate if the payment shall be marked as fulfilled and the payment should be settled direct. If this param is set to true there are no need to run the Capture API

boolean

Indicates MOTO payment. Prior approval required.

customer
object
string

Card token from Tokenization API or Tokenization JavaScript. Required if source is card_token.

string

Order token to connect this payment to if a previous Create new order request was performed.

card
object
network_token
object
string
required

Your unique order id of this order. (max 255 characters)

int32
required

We express amounts in minor units according to the ISO 4217 standard. That means they are expressed in the smallest unit of currency. Examples are USD with 1000 representing $10, GBP with 500 representing £5, EUR with 50 representing €0.50 and SEK with 100 representing 1kr.

string
enum
required

We use the ISO 4217 standard for defining currencies. Examples are EUR, GBP, EUR, SEK, etc.

string
enum
hooks
object
required
Responses

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