IV-PAYOUT PAYMENT
CREATE A NEW PAYMENT FOR PAYOUT
POST
https://usdc.nonstopay.net/api/payout/payment/send
Send a payment
Headers
Content-Type
application/json
API-KEY
0d8d8e89a6cdcd (Replace by your API key)
Body
amount
float
Amount of payment
currency
string
Currency of payment (EUR)
firstname
string
Card holder first name
lastname
string
Card holder last name
card_number
numeric
Card Number
expiry
date
Card expiry (MM/YYYY)
merchant_data (optional)
string or json
After successful or canceled payment. we send it to you through the callback url. eg {txId : qktr12eqzg, status : sfrt}
Response
Our service will return a JSON object.
if you receive an errorCode
other than 0, there is an error
Otherwise, we will provide you with the payment identifier "payment_id" ;
The details of this error are specified by errorMessage
{
"payment_id": XXX,
"errorCode": 0,
"success": true
}
GET HISTORY OF PAYMENT
GET
https://usdc.nonstopay.net/api/payout/payment/get-history
Returns the history of payment with their details
Headers
Content-Type
application/json
API-KEY
0d8d8e89a6cdcd (Replace by your API key)
Body
status
string
● Blank to display all statuses
● payment:pending: for pending payment
● payment:success: for success payment
● payment:failed: for failed payment
from
date
start date filter (2023-06-01)
to
date
end date filter (2023-06-19)
order
string
● ASC : ascending order by date
● DESC : descending order with respect to dates
page
2
Each page contains a maximum of 50 records
Response
Our service will return a JSON object.
{
"errorCode": 0,
"status": "PENDING",
"from": null,
"to": null,
"page": 1,
"order": "ASC",
"list": [
{
"id": "48",
"create_date": "2024-06-17 03:27:50",
"card_holder": "fanoharana soa",
"card_number__expiry": "4012XXXXXXXX4240 04/2025",
"amount": "1 EUR",
"amount_reached": " ",
"status": "payment:pending",
"status_date": "2024-06-17 03:28:01",
"merchant_data": null
},
{
"id": "51",
"create_date": "2024-06-17 20:41:40",
"card_holder": "affiliate man",
"card_number__expiry": "4012XXXXXXXX4240 01/2027",
"amount": "1.4 EUR",
"amount_reached": " ",
"status": "payment:pending",
"status_date": "2024-06-17 20:41:40",
"merchant_data": null
},
{
"id": "52",
"create_date": "2024-06-17 20:52:52",
"card_holder": "fanoharana soa",
"card_number__expiry": "4012XXXXXXXX4240 04/2025",
"amount": "1 EUR",
"amount_reached": " ",
"status": "payment:pending",
"status_date": "2024-06-17 20:53:02",
"merchant_data": null
}
],
"total": "3"
}
GET PAYMENT DETAIL
GET
https://usdc.nonstopay.net/api/payout/payment/get-detail
Return the detail of payment by passing his id parameter
Headers
Content-Type
application/json
API-KEY
0d8d8e89a6cdcd (Replace by your API key)
Body
id
number
Id of the payment
Response
{
"errorCode": 0,
"merchant_id": "238",
"id": "48",
"data": {
"id": "48",
"create_date": "2024-06-17 03:27:50",
"card_holder": "fanoharana soa",
"card_number__expiry": "4012XXXXXXXX4240 04/2025",
"amount": "1 EUR",
"amount_reached": " ",
"status": "payment:pending",
"status_date": "2024-06-17 03:28:01"
}
}
GET AVAILABLE BALANCE
GET
https://usdc.nonstopay.net/api/payout/payment/get-available-balance
returns the merchant's balance
Headers
Content-Type
application/json
API-KEY
0d8d8e89a6cdcd (Replace by your API key)
Response
{
"errorCode":0,
"merchant_id":"XX",
"balance":"XXX XXX.XX",
"currency":"EUR"
}
Last updated