Upload Non Mastercard Brand Card transactions
POST {{baseUrl}}/donations/non-ma/transactions
This API is to be used by API Consumer to upload the non-Mastercard transactions details to the Donate Platform.
Request Body
{"currencyCode"=>"USD", "transactionsSummary"=>{"card_id"=>"sint amet con", "card_brand"=>"con", "transactions"=>{"transactionId"=>"3311e859-3ee4-4155-a640-8cae447c27ca", "transactionDate"=>"2021-09-03", "amount"=>"aliquip minim pariatur"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-openapi-clientid | string | (Required) ClientId is a unique and a mandatory ID shared while creating a project on Mastercard Developers Portal. | |
x-program-id | string | ProgramId is an optional field, but if a client has more than one program associated to it, then this field becomes mandatory. | |
x-correlation-id | string | CorrelationId is a unique donation request ID. It is recommended to pass the x-correlation-id by the customer and to use the format "bankname_UUID" (bank name can be indicated using the first 4 digits). Maximum length of this field should be 100 alphanumeric characters. If not passed, Mastercard will generate it. Note: If there is a timeout when doing the guest api call, it is important to redo the same api call with same x-correlation-id to get the status of the previous api call | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
"{Data load for Non MA Card Transactions is success.}"