Used only in the reserve-to-invoice flow (channelId=10). Start payment with Payment Service and get the response, deliver the benefit, then call “Commit Service” to finalize. Example: Smart Fax reserves the amount via Payment Service, sends the fax, then calls Commit Service to complete payment. If benefit delivery fails (fax fails), Commit Service is not called and the user is not charged.
Endpoint:
{
"transactionId": "66664",
"msisdn": "9053XXXXXXXX",
"commitToken": "12345432",
"chand": 10
}
| Field | Type | Description |
|---|---|---|
| transactionId | String | Unique id for the request |
| msisdn | String | User GSM number to be charged |
| commitToken | String | Token returned by Listener Service |
| paymentMethod | String | Use reserve statically |
| channelId | String | Payment channel id |
| commitToken | String | Provided only for reserve&commit (channelId 10) invoice flows |
{
"transactionId": "66664",
"resultCode": 0,
"resultDesc": "SUCCESS"
}
| Field | Type | Description |
|---|---|---|
| resultCode | int | Return code id value |
| resultDesc | String | Return description |
| transactionId | String | Request id value |