Create operation
Request:
POST |
https://api.moneypipe.com/sandbox/v1/operations |
Request headers:
Request body:
Body
{ "amount": "17.068", "currency": "USD", "order_id": "1866", "payment_currency": "BTC", "redirect_url": "https://example.net/redirect/payment/moneypipe" }
Body details:
Parameter | Type | Description |
---|---|---|
amount * |
string |
Amount set |
currency * |
string |
Currency of operation |
order_id * |
string |
Sales Order Number |
payment_currency |
string |
In what currency to pay |
redirect_url |
string |
URL to redirect to |
* - required
Response:
201
Body
{ "data": { "id": "eFbIa4lRUf3XQwlnoPmi", "application_id": "c84b5aae7378b62d0e47", "application_name": "Application name", "category": "application", "order_id": "422", "amount": "85.30000000", "fee": "0.00000000", "amount_paid": null, "rate": "0.00018330", "currency": "USD", "currency_paid": "BTC", "status": "new", "address": "2MxrLNgYJS5MM53XTVLc5QcAM4EwwfoDgy7", "created_at": "2019-10-27T13:33:03.224328Z", "updated_at": "2019-10-27T13:33:03.224391Z", "payment_url": null, "redirect_url": null, "transactions": [] } }
Operation details:
Parameter | Type | Description |
---|---|---|
id | string | Operation ID |
application_id | string |
Application id |
application_name | string | Application name |
category | string | Operation category (application, manual) |
order_id | string | Clients` order number |
amount | string | Operation amount |
fee | string | Fee from operation amount |
amount_paid | string | Paid amount of operation |
rate | string | Exchange rate at the moment of payment |
currency | string | Currency of issued operation |
currency_paid | string | Currency in which operation will be paid |
status | string | Operation status |
address | string | Operation address |
created_at | string | Date of operation creation |
updated_at | string | Date of operation change |
payment_url | string | Link to the payment page |
redirect_url | string | Link to the page, to which redirect from payment page will be made |
transactions | array | List of operation transactions |