Send a batch transaction

POST /api/transaction

Use this call to send a batch transaction. A sample request and response is below.

Request URL

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

Sample request

{
   "BatchId":"00000000-0000-0000-0000-000000000000",
   "PushToCardRequests":[
      {
         "RequestId":"00000000-0000-0000-0000-000000000000",
         "CardToken":"string",
         "Amount":10,
         "SourceSenderName":"string",
         "SourceMcc":"string"
      }
   ]
}

Request attributes

Attribute

Description

BatchId
string

Unique ID for the batch.
Required

RequestId
string

Unique ID for the transaction.
Required

CardToken
string

Unique card token the merchant stores.
Required

Amount
integer

Amount to transfer.
Required

SourceSenderName
string

The name of the sender of the funds.
Required

SourceMcc
string

A 4-digit number that credit card networks assign to businesses to denote the type of business or service it is in.
Required

Sample response

For a description of the response attributes, see Batch transaction attributes.

{
   "version":"1.0.0.0",
   "result":{
      ""transactionRequestId":"00000000-0128-0000-0000-000000000000",
      "amount":10,
      "transactionRequestedAt":"2021-01-24T13:59:33.3589159Z",
      "transactionStatus":"Succeeded",
      "errorDescription":null,
      "creditCardId":"ELHPIE39WGWYDVYAT280YBS138F1YLA0NSV5E2",
      "railId":"McSend",
      "network":"MasterCard",
      "retrievalReferenceId":"a0d77e03-6f34-4ff5-b215-e63a8dc5dfe2",
      "actualTransactionDoneAt":"2021-01-24T13:59:34.1566161Z",
      "paymentSent":true,
      "requestApproved":true,
      "responseReceived":true,
      "responseCode":"00",
      "responseDescription":"Approved",
      "traceNumber":"00000000-0128-0000-0000-000000000000",
      "error":null,
      "transactionRequestBatchId":null,
      "sourceSenderName":"ABCD",
      "sourceMcc":"1234"
   }
   "isSuccessfull":true
}"

Did this page help you?