curl -i -X POST \
-u <username>:<password> \
https://docs.electrumsoftware.com/qrCodes \
-H 'Content-Type: application/json' \
-d '{
"id": "string",
"time": "2019-08-24T14:15:22Z",
"originator": {
"institution": {
"id": "string",
"name": "string"
},
"terminalId": "string",
"merchant": {
"merchantType": "string",
"merchantId": "string",
"merchantName": {
"name": "string",
"city": "string",
"region": "string",
"country": "string"
}
},
"operatorId": "string",
"channelId": "string"
},
"client": {
"id": "string",
"name": "string"
},
"thirdPartyIdentifiers": [
{
"institutionId": "string",
"transactionIdentifier": "string"
}
],
"rrn": "string",
"stan": "string",
"amounts": {
"requestAmount": {
"amount": 0,
"currency": "string",
"ledgerIndicator": "DEBIT"
},
"approvedAmount": {
"amount": 0,
"currency": "string",
"ledgerIndicator": "DEBIT"
},
"feeAmount": {
"amount": 0,
"currency": "string",
"ledgerIndicator": "DEBIT"
},
"balanceAmount": {
"amount": 0,
"currency": "string",
"ledgerIndicator": "DEBIT"
},
"additionalAmounts": {
"property1": {
"amount": 0,
"currency": "string",
"ledgerIndicator": "DEBIT"
},
"property2": {
"amount": 0,
"currency": "string",
"ledgerIndicator": "DEBIT"
}
}
},
"customer": {
"firstName": "string",
"lastName": "string",
"address": "string",
"dateOfBirth": "2019-08-24T14:15:22Z",
"status": "string",
"msisdn": "string",
"emailAddress": "string",
"addressDetails": {
"addressLine1": "string",
"addressLine2": "string",
"city": "string",
"region": "string",
"country": "string",
"postalCode": "string"
},
"profileId": "string"
},
"qrProperties": {
"description": "string",
"guid": "string",
"overPaymentAllowed": true,
"partPaymentAllowed": true,
"customerProvidedValuePrompts": [
{
"label": "string"
}
],
"requestTip": true,
"creationDateTime": "2019-08-24T14:15:22Z",
"expiryDate": "2019-08-24T14:15:22Z",
"notificationParameters": {
"recipients": [
{
"emailAddress": "string",
"msisdn": "string"
}
]
},
"qrLabel": "string"
},
"paymentMethods": [
{
"type": "AN_32_TOKEN",
"name": "string",
"amount": {
"amount": 0,
"currency": "string",
"ledgerIndicator": "DEBIT"
},
"issuer": {
"id": "string",
"name": "string"
},
"pin": {
"type": "CLEAR_PIN"
},
"proxy": "string",
"proxyType": "MSISDN"
}
]
}'