Credit
This API can be used to issue credit to a card.
POST https://<Platform-host>/api/payment/credit
Request
Request Body
data.transactionAmount*
string
Amount to be returned. Should be less or equal to available transaction amount
id*
string
Transaction ID
data.cardToken
string
Card token generated by Platform secure field API
data.store_payment_method
boolean
true | false – Indicates whether the card should be stored for future use. Set to true to store the card. Defaults to true
data.initiated_by
string
merchant | customer – Indicates who initiated the transaction. Defaults to customer
data.description
string
Transaction description. Character limit is 255
data.gateway_id
string
Gateway ID (optional, if multigateway mode enabled)
ID
string
Platform system ID for the sale request
Required
TransactionID
string
Unique transaction ID
Required
MerchantID
string
Merchant ID
Required
description
string
Transaction description
Optional
store_payment_method
boolean
Defaults to true
Optional
initiated_by
string
Defaults to customer
Optional
ReturnResponse
Object
Refer to Credit Card Sale (SaleResponse)
Required
Sample Request / Response
Last updated