Payment
POST {{baseUrl}}/payments
Initiate a debit transaction.
Request Body
{"authentication"=>{"userId"=>"{{apiUsername}}", "password"=>"{{apiPassword}}", "entityId"=>"{{entityId}}"}, "merchantTransactionId"=>"INV-{{$randomInt}}{{$randomInt}}", "amount"=>"10.00", "currency"=>"ZAR", "paymentBrand"=>"PEACHEFT", "paymentType"=>"DB", "shopperResultUrl"=>"{{shopperResultUrl}}"}
RESPONSES
status: OK
{"id":"c2a63f8c185d4ba196d8c790e0beb471","paymentType":"DB","paymentBrand":"EFTSECURE","result":{"code":"600.200.500","description":"Invalid payment data. You are not configured for this currency or sub type (country or brand)"},"timestamp":"2022-09-29T10:05:42.044304Z","customParameters":{},"merchantTransactionId":"INV-297470","shopperResultUrl":"https://httpbin.org/post"}