POST https://api.zoined.com/giftcardPayments?dryRun=false&separator=%3B&encoding=utf-8
Security
bearerAuth
Any of:
Currency as ISO 4217 currency code. Required if multiple currencies are used.
Example:"EUR"
- Mock serverhttps://zapi-api.zoined.com/_mock/giftcardPayments
- https://api.zoined.comhttps://api.zoined.com/giftcardPayments
curl -i -X POST \
'https://zapi-api.zoined.com/_mock/giftcardPayments?dryRun=false&separator=%3B&encoding=utf-8' \
-H 'Authorization: Bearer <YOUR_token_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"giftcard_id": "A67gigMp",
"giftcard_number": "7TON39",
"giftcard_status": "Active",
"giftcard_balance": 50,
"creation_date": "2016-01-01",
"creation_time": "15:00:00",
"expiration_date": "2017-01-01",
"expiration_time": "15:00:00",
"sales_id": "dbeba367",
"organisation_id": "540",
"department_id": "5401",
"register_id": "32",
"salesperson_id": "5402101",
"customer_id": "32",
"payment_id": "A65A",
"payment_type": "Activation",
"payment_date": "2016-05-15",
"payment_time": "15:00:00",
"payment_value": 20,
"payment_currency": "EUR",
"custom_field_1": "XYZ",
"custom_field_2": "XYZ",
"custom_field_3": "XYZ",
"custom_field_4": "XYZ",
"custom_field_5": "XYZ",
"custom_metric_1": 1,
"custom_metric_2": 100,
"custom_metric_3": 2.2,
"custom_metric_4": 1.05,
"custom_metric_5": 10000,
"source_system": "ABCDEF"
}'Response
{ "status": "OK", "msg": "1 entity added" }