Take a payment using the charge token
POST https://demo-api.vivapayments.com/nativecheckout/v2/transactions
Request Body
{"amount"=>550, "preauth"=>false, "sourceCode"=>"Default", "chargeToken"=>"ctok_zuWOkZVYJlAzkPmnI4eXmbhthjE", "installments"=>1, "merchantTrns"=>"Merchant transaction reference", "customerTrns"=>"Description that the customer sees", "currencyCode"=>826, "customer"=>{"email"=>"mgourd@vivawallet.com", "phone"=>"447498719486", "fullname"=>"Dawei", "requestLang"=>"en", "countryCode"=>"GB"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |