Supermarket Vouchers Purchase
POST
/pre-paid/supermarket-vouchers/purchase/{terminalId}/{operatorId}/{localReference}Request
Path Params
terminalId
integer <int32>
required
operatorId
integer <int32>
required
localReference
integer <int32>
required
Body Params application/json
amountToSendX100
integer <int32>
optional
destinationAmountX100
integer <int32>
optional
localDateTime
string <date-time>
optional
beneficiaryPhoneNumber
string
optional
dynamicProductId
string | null
optional
receiverEmail
string | null
optional
receiverMessage
string | null
optional
documentNumber
string
optional
documentType
enum<string>
optional
Allowed values:
PASSPORTID_CARD
firstName
string
optional
surname
string
optional
secondSurname
string | null
optional
Example
{
"amountToSendX100": 0,
"destinationAmountX100": 0,
"localDateTime": "2019-08-24T14:15:22.123Z",
"beneficiaryPhoneNumber": "string",
"dynamicProductId": "string",
"receiverEmail": "string",
"receiverMessage": "string",
"documentNumber": "string",
"documentType": "PASSPORT",
"firstName": "string",
"surname": "string",
"secondSurname": "string"
}
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
rc
integer <int32>
optional
items
array [object]
optional
Example
{
"rc": 0,
"items": [
{}
]
}
Last modified: 4 months ago