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 GitPay.
Signatures in DAPI are computed using HMAC_SHA1 algorithm. Key is derived in the following way:

  1. Take Connecting Party ControlKey

  2. Remove dashes from it

  3. Unhex the result to binary

The correct signature values for all types of transactions supported by DAPI in the debugging tool below:

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 GitPay on Android and iOS platforms via DAPI.

Connecting Party proxy server for Money transfer:

Android SDK of Java implementation for Money transfer:

iOS SDK of Objective-C implementation for Money transfer: