NONSTOPAY Documentations
DocumentationNonstopay
  • PAYIN API Documentation
    • I-PREREQUISITE
    • II-HOW TO USE THE API
      • Create invoice CREDIT CARD (POST)
      • Create invoice UPI (POST)
      • Create invoice CRYPTO (POST)
      • Get an invoice status (GET)
      • Get invoice infos (GET)
      • Get invoice history (GET)
      • Get crypto payable currencies (GET)
    • III- INTEGRATION
    • IV- Webhook notification (callbacks)
  • PAYIN NFT API Documentation
    • I-PREREQUISITE
    • II-HOW TO USE THE API
      • NFT - Create invoice (POST)
      • NFT - Get an invoice status (GET)
      • NFT - Get invoice infos (GET)
      • NFT - Get invoice history (GET)
    • III- INTEGRATION
    • IV- Webhook notification (callbacks)
  • PAYOUT API Documentation
    • I-PREREQUISITE
    • II- INTEGRATION
    • III-PAYOUT FUNDS
    • IV-PAYOUT PAYMENT
    • V- Webhook notification (callbacks)
  • Guide for Affiliate
    • Registration and login
    • Features
  • Guide to Smart Settlement
    • Registration and login
    • Features
    • Whitelabel
  • Payment Crypto > Payable currencies value list
  • External Links
Powered by GitBook
On this page
  • CREATE A NEW PAYMENT FOR PAYOUT
  • GET HISTORY OF PAYMENT
  • GET PAYMENT DETAIL
  1. PAYOUT API Documentation

IV-PAYOUT PAYMENT

PreviousIII-PAYOUT FUNDSNextV- Webhook notification (callbacks)

Last updated 2 months ago

CREATE A NEW PAYMENT FOR PAYOUT

POST

Send a payment

Headers

Name
Value

Content-Type

application/json

API-KEY

0d8d8e89a6cdcd (Replace by your API key)

Body

Name
Type
Description

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
}
{
  "errorCode": 62009,
  "errorMessage": "Invalid API KEY"
}

GET HISTORY OF PAYMENT

Returns the history of payment with their details

Headers

Name
Value

Content-Type

application/json

API-KEY

0d8d8e89a6cdcd (Replace by your API key)

Body

Name
Type
Description

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"
}
{
  "errorCode": 62048,
  "errorMessage": "Invalid order. order must be ASC or DESC"
}

GET PAYMENT DETAIL

Return the detail of payment by passing his id parameter

Headers

Name
Value

Content-Type

application/json

API-KEY

0d8d8e89a6cdcd (Replace by your API key)

Body

Name
Type
Description

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"
  }
}
{
  "errorCode": 62025,
  "errorMessage": "invalid id"
}

GET

GET

https://usdc.nonstopay.net/api/payout/payment/send
https://usdc.nonstopay.net/api/payout/payment/get-history
https://usdc.nonstopay.net/api/payout/payment/get-detail