Redeem Voucher

This endpoint used to redeem voucher to points. System will be adding points to balance points user.

POST https://api-dev.netzme.com/payment/aggregator/voucher/redeem

Headers

NameTypeDescription

Content-Type*

String

application/json

Authorization*

String

See Authentication Page

Client-Id*

String

See Authentication Page

Request-Time*

String

See Authentication Page

Signature*

String

See Authentication Page

Request Body

NameTypeDescription

requestId*

String

ormat {{ClientId}} {{YYYYMMDDHHmmSS}}{{4 digit increments}} sample institution1202106281235010001

type*

String

Value : aggregator_points_voucher_redeem

userId*

String

Id user merchant, ex : lFi1IiSr

voucherCode*

String

Voucher code from generate voucher, ex PTSWVTBJWSB

trxId*

String

Transaction id registered on partner

{
    "requestId": "institution1202106281235010001",
    "status": 100,
    "statusMessage": "success",
    "body": {
        "userId": "lFi1IiSr",
        "voucherCode": "PTSWVTBJWSB"
    }
}

Request sample :

{
  "requestId": "institution1202106281235010001",
  "type": "aggregator_points_voucher_redeem",
  "body": {
    "userId": "lFi1IiSr",
    "voucherCode": "PTSWVTBJWSB",
    "trxId": "bYzQkGDJbD"
  }
}

Last updated