Pip iT
STAGING_URL: https://switchapi3.azurewebsites.net
LIVE_URL: https://switch-api.herokuapp.com
Create order
POST
https://switchapi3.azurewebsites.net/user/pipit/create_order
This endpoint creates a Pip iT order.
Headers
Name
Type
Description
SWI-CS
string
Payload checksum
SWI-CID
string
Client ID
Authorization
string
The format for Authorization is Bearer token
Request Body
Name
Type
Description
funding_destination
string
Either one of wallet or account. Defaults to wallet.
amount_kobo
string
currency
string
{
"message": "Pipit order created successsfully",
"data": {
"id": 11606,
"barcode": "630070016100536453500001500",
"reference": "536453",
"vendorReference": "842af09333454cc4-pipit-027b2451664b",
"clientReference": "842af09333454cc4-pipit-027b2451664b",
"currencyCode": "GBP",
"orderValue": 15,
"totalValue": 15,
"fee": 0,
"createdDate": "2020-01-06T15:52:49Z",
"expiryDate": "2020-01-08T12:00:00Z",
"status": "PENDING",
"type": "CashIn",
"barcode_url": "https://servers.pip-it.net/os/mgr/order/630070016100536453500001500/barcode.png"
}
}
Last updated
Was this helpful?