Transfer funds

POST /api/transaction

Use this call to transfer funds from a sender to a payee. A sample request and response is below.

Request URL

https::// .../api/transaction

Sample request

POST /api/transaction
{
  "requestId": "{ID}", 
  "cardToken": "OMOZBSFLNAUG8E2134UDH18WILO2QDA9K6XQVN", 
  "amount": 100.01,
  "sourceSenderName": "" 
}

Request attributes

Attribute

Description

requestId
string

A customer generated unique ID.
Required

amount
integer

The amount to be transferred.
Required

cardToken
string

Card token ID.
Required

sourceSenderName
string

The name of the sender of the funds.
Required

Sample response

Click here to view the response attributes.

{
"version": "1.0.0.0", 
"result": {
  "transactionRequestId": "e91ea2c5-e8dc-4790-acf7-5dea1cab7216", 
  "amount": 100,
  "transactionRequestedAt": "2019-09-10T00:28:37.76", 
  "transactionStatus": "Succeeded",
  "errorDescription": null,
  "creditCardId": "OMOZBSFLNAUG8E2134UDH18WILO2QDA9K6XQVN", 
  "railId": "RS2",
  "network": "visa",
  "actualTransactionDoneAt": "2019-09-10T12:28:51", 
  "paymentSent": true,
  "responseReceived": true,
  "responseCode": "00",
  "responseDescription": "Approved", 
  "traceNumber": "000001",
  "error": null,
  "sourceSenderName": null
  },
  "isSuccessfull": true 
}

Did this page help you?