Payment Hub APIs
The description of the payment hub APIs to initiate payment, query payment details, register MSISDN, initiate request to pay.
SwaggerHub Links
Last updated
Was this helpful?
The description of the payment hub APIs to initiate payment, query payment details, register MSISDN, initiate request to pay.
Last updated
Was this helpful?
Was this helpful?
Url: http://{environment-channel-connector-domain}/channel/transfer
Method: POST
Headers:
Platform-TenantId: {configured-tenantId-in-channel-connector}
Content-Type: application/json
Body:
{
"payer": {
"partyIdInfo": {
"partyIdType": "MSISDN",
"partyIdentifier": "27710101999"
}
},
"payee": {
"partyIdInfo": {
"partyIdType": "MSISDN",
"partyIdentifier": "27710102999"
}
},
"amount": {
"amount": 230,
"currency": "TZS"
}
}
Response:
{
"transactionId":"84b34cfc-15ee-4646-902b-d92152028200"
}Url: http://{environment-channel-connector-domain}/channel/transfer/{transactionId}
Method: GET
Headers:
Platform-TenantId: {configured-tenantId-in-channel-connector}
Response:
{
"clientRefId": "000000", -- possibly unknown client started it because it is not a required field in the request
"completedTimestamp": "2020-07-06T18:58:46.883", -- possibly null field in case of not yet completed transfer
"transactionId" : "84b34cfc-15ee-4646-902b-d92152028200",
"transferState" : "RECEIVED",
"transferId" : "b155e298-dd7f-4199-9636-fa5ebec2bc58" -- possibly null field, transfer code only captured after transfer sent
}Url: http://{environment-channel-connector-domain}/channel/transactionRequest
Method: POST
Headers:
Platform-TenantId: {configured-tenantId-in-channel-connector}
Content-Type: application/json
Body:
{
"payer": {
"partyIdInfo": {
"partyIdType": "MSISDN",
"partyIdentifier": "27710203999"
}
},
"payee": {
"partyIdInfo": {
"partyIdType": "MSISDN",
"partyIdentifier": "27710305999"
}
},
"amount": {
"amount": 77,
"currency": "TZS"
}
}
Response:
{
"transactionId":"84b34cfc-15ee-4646-902b-d92152028200"
}Url: http://{environment-channel-connector-domain}/channel/partyRegistration
Method: POST
Headers:
Platform-TenantId: {configured-tenantId-in-channel-connector}
Content-Type: application/json
Body:
{
"accountId":"9062b90de19b43989005", -- real savings account number, not external interoperation identifier
"idType": "EMAIL",
"idValue": "test@test.hu"
}
Response: empty