Development tools
Introduction
Signature computation
The signature is being used to ensure that it is Connecting Party (and not a fraudster) who sends the information to Billblend.
Signatures in DAPI are computed usingΒ HMAC_SHA1Β algorithm. Key is derived in the following way:
- Take Connecting Party ControlKey
- Remove dashes from it
- Unhex the result to binary
The correct signature values for all types of transactions supported by DAPI in the debugging tool below:Β Β Β Β Β Β Β Β Β Β Β Initiate Verification response signatureΒ Β Β Β Β Β Β Β Β Β Β Check Verification response signatureΒ Β Β Β Β Β Β Β Β Β Β Initiate Sale response signatureΒ Β Β Β Β Β Β Β Β Check Sale response signatureΒ Β Β Β Β Β Β Β Β Β Β Initiate Transfer response signatureΒ Β Β Β Β Β Β Β Β Check Transfer response signatureΒ Β Β Β Β Β Β Β Β Β Β Card Mapping response signatureΒ Β Β
| AccessToken | Use your existing accessToken or make itΒ Β for new transaction |
|---|---|
| Serial number | Β |
| Endpoint ID | Β |
| Session nonce | Use your existing nonce or make itΒ Β for new transaction |
| Merchant’s invoice | Use your existing invoiceId or make itΒ Β for new transaction |
| Transaction currency | ISO 4217 alpha three-letter code |
| Merchant control key | Β |
| String to sign |
|---|
| Β |
| Signature |
|---|
| Β |
Example code and SDK
There are several solutions available on GitHub, which were developed for integration with Billblend on Android and iOS platforms via DAPI.
Connecting Party proxy server for Money transfer:
https://github.com/payneteasy/paynet-transfer-merchant-proxy
Android SDK of Java implementation for Money transfer:
https://github.com/payneteasy/dengisend-android-transfer-api
iOS SDK of Objective-C implementation for Money transfer: