Pay off voucher

Request:

POST https://api.moneypipe.com/sandbox/v1/vouchers/payoff

Request headers:

Name Value
Authorization Bearer {company_token}
Content-Type application/json

Request body:

Body
{
	"code": "7731bad3eaaf7496a3a3ab248c3ae34b0ad1061b01fbd3c948c5dcdffe07"
}

Body details:

Parameter Type Description

code *

string

Code of voucher

* - required

Response:

201

Body
{
    "data": {
        "id": "0abbdb1117499a4e6cbd",
        "amount": "0.0112",
        "currency": "ETH",
        "code": "7731bad3eaaf7496a3a3ab248c3ae34b0ad1061b01fbd3c948c5dcdffe07",
        "status": "successful",
        "type": "paid off",
        "created_at": "2020-05-04T14:01:25.000000Z",
        "updated_at": "2020-05-04T14:01:25.000000Z"
    }
}

Voucher details:

Parameter Type Description
id string Voucher ID
amount string Voucher amount
currency string Currency of issued voucher
code string Code of issued voucher
status string Voucher status
type string Voucher type
created_at string Date of voucher creation 
updated_at string Date of voucher change

Revision #1
Created Thu, Aug 13, 2020 12:29 PM by Nikolay
Updated Thu, Aug 13, 2020 12:30 PM by Nikolay