Get signature service (symmetric signature)
Server
| Environment |
Link |
| Development | https://apidevportal.aspi-indonesia.or.id:44310 |
Endpoint
| Endpoint | Method |
| /api/v1.0/utilities/signature-service | POST |
Authentication
| Parameter | Token source |
| AccessToken | Access token B2B |
Header
| Parameter |
Value |
| X-TIMESTAMP | timestampz example: 2024-12-01T07:15:00+07:00 |
| X-CLIENT-SECRET | Client Secret in "Request Aplikasi Pengujian" page |
| EndpoinUrl | /api/v1.0/transfer-va/payment |
| AccessToken | Access token B2B |
| HttpMethod | Depends on the service will be using Example: Transver VA Payment is using POST, so the value will be POST. |
Body request (example)
Body value is same as the next service
{
"partnerServiceId": " 088899",
"customerNo": "12345678901234567890",
"virtualAccountNo": " 08889912345678901234567890",
"virtualAccountName": "Tom",
"virtualAccountEmail": "tom@tts.com",
"virtualAccountPhone": "6281828384858",
"trxId": "abcdefgh1234",
"paymentRequestId": "abcdef-123456-abcdef",
"channelCode": 6011,
"hashedSourceAccountNo": "abcdefghijklmnopqrstuvwxyz123456",
"sourceBankCode": "008",
"paidAmount": {
"value": "12345678.00",
"currency": "IDR"
},
"cumulativePaymentAmount": {
"value": "12345678.00",
"currency": "IDR"
},
"paidBills": "95000",
"totalAmount": {
"value": "12345678.00",
"currency": "IDR"
},
"trxDateTime": "20201231T235959Z",
"referenceNo": "123456789012345",
"journalNum": "123456",
"paymentType": 1,
"flagAdvise": "Y",
"subCompany": "12345",
"billDetails": [
{
"billCode": "01",
"billNo": "123456789012345678",
"billName": "Bill A for Jan",
"billShortName": "Bill A",
"billDescription": {
"english": "Maintenance",
"indonesia": "Pemeliharaan"
},
"billSubCompany": "00001",
"billAmount": {
"value": "12345678.00",
"currency": "IDR"
},
"additionalInfo": {},
"billReferenceNo": "123456789012345"
}
],
"freeTexts": [
{
"english": "Free text",
"indonesia": "Tulisan bebas"
}
],
"additionalInfo": {}
}
Result example
200 OK
{
"signature": "YXD+d+yHRKRMz0+aVjLu6K2nQ3Fd9KryoMxvkQPs1CXkSqOvv0"
}
Error example
400 Bad Request
Request is missing one or more header parameter
{
"responseCode": "4000000",
"responseMessage": "The <header> field is required."
}
No Comments