3.28. /registry/upload
Introduction
This API allows Manager to upload a file with adjustments for Merchant balance in Payment Gateway.
Adjustments parameters
Adjustments must be sent in archived tsv file format.
| Parameter | Description |
|---|---|
| Credit amount | Credit amount. |
| Debit amount | Debit amount. |
| External ID | Adjustment external ID. |
| External Merchant ID | External merchant ID. Set in properties of merchant/manager. |
| Balance name | Balance name. If parameter is not set, default balance is automatically selected. |
File example
tsv file example:
10.45 eid1 THIS_IS_EXT_MERCH_ID Global merchant balance 90.05 eid2 THIS_IS_EXT_MERCH_ID Global merchant balance
Request Builder
Request Builder is available at this link – https://doc.billblend.com/integration/API_commands/accounts_adjustments.html#request-builder
In order to make an adjustment, tsv file must be archived and sent. 7-Zip
or similar archiving software is needed in order to use this debugger.
| URL | |
|---|---|
| Source | |
| Manager login | |
| filename | |
| control key |
7z a -tzip nameoffile.zip nameoffile.tsv | curl --data-binary @nameoffile.zip -v --fail -H "apiKey:2GF5FBBA-F119-4A30-980D-DE3A6Y42FGEZ" -H "Content-Type: application/zip" -H "Connection: close" https://pay.billblend.com/checkout/registry/upload/managerLogin/ABS