Create a paymentAsk AIpost https://api.hips.com/v2/paymentsCreate a payment. Authentication Key Type: SalesChannelApiKeyBody ParamssourcestringenumrequiredPayment 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.cardcard_tokennetwork_tokenAllowed:cardcard_tokennetwork_tokenmeta_data_1stringYour metadata 1 for order (max 255 characters)meta_data_2stringYour metadata 2 for order (max 255 characters)capturebooleanDefaults to trueIndicate 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 APItruefalsemotobooleanIndicates MOTO payment. Prior approval required.truefalsecustomerobjectcustomer objectcard_tokenstringCard token from Tokenization API or Tokenization JavaScript. Required if source is card_token.order_tokenstringOrder token to connect this payment to if a previous Create new order request was performed.cardobjectcard objectnetwork_tokenobjectnetwork_token objectmerchant_order_idstringrequiredYour unique order id of this order. (max 255 characters)amountint32requiredWe 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.purchase_currencystringenumrequiredWe use the ISO 4217 standard for defining currencies. Examples are EUR, GBP, EUR, SEK, etc.SEKUSDEURNOKDKKBTCGBPCHFJPYAUDCADPLNCZKShow 13 enum valuesauthorization_currencystringenumSEKUSDEURNOKDKKBTCGBPCHFJPYAUDCADPLNCZKShow 13 enum valueshooksobjectrequiredhooks objectResponses 201Create a payment. Authentication Key Type: SalesChannelApiKey 400Payment Declined 404Payment Declined 409Payment DeclinedUpdated 10 months ago