POST
/
api
/
v1
/
transaction
/
merchant
/
get-link
curl --request POST \
  --url https://api-m.dexchange.sn/api/v1/transaction/merchant/get-link \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "externalTransactionId": "<string>",
  "ItemName": "<string>",
  "ItemPrice": 123,
  "customData": "<string>",
  "callBackURL": "<string>",
  "successUrl": "<string>",
  "failureUrl": "<string>"
}'
{
  "message": "<string>",
  "transaction": {
    "success": true,
    "transactionId": "<string>",
    "PaymentUrl": "<string>",
    "externalTransactionId": "<string>",
    "Status": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Merchant transaction request

The body is of type object.

Response

201
application/json

Transaction initiation response

The response is of type object.