Stablecoins Transfer

Initiate a Stablecoin payment.

Initialization

POST /payment-sessions

Sample Request

{
    "customer": {
        "first_name": "John",
        "last_name": "Doe",
        "email": "john.doe@example.com",
        "phone_number": "+2348118873422",
        "billing_address": {
            "line1": "123 Main St",
            "line2": "234 Feranmi Drive",
            "city": "Springfield",
            "state": "CA",
            "country": "US",
            "zip_code": "12345"
        }
    },
    "description": "Test",
    "currency": "USD",
    "amount": 100000,
    "direction": "incoming",
    "payment_method": {
        "type": "crypto address"
    },
    "reference": "1b09d9b2-11jd9eheveb-9203v02g",
    "isLive": true,
    "metadata": {
        "order": {
            "identifier": "ORD12345",
            "items": [
                {
                    "name": "Deposit",
                    "type": "digital"
                }
            ]
        }
    }
}

Sample Response

{ "data": {
	"status": "pending",
	"message": "",
	"payment": {
	        "id": ,
	        "currency": ,
	        "amount": ,
	        "description": ,
	        "payment_method": {
		"address": "",
		"chain": "TRX",
		"currency": "USDT",
		"type": "crypto_address"
	},
		
	        "status": "pending",
	        "date": ,
	        "mode": ,
	        "customer": {
	            "first_name": ,
	            "last_name": ,
	            "email": ,
	            "billing_address": {
	                "line1": ,
	                "line2": ,
	                "city": ,
	                "state": ,
	                "zip_code": ,
	                "country": ,
	            }
	        },
	        "reference": ,
	        "metadata": {
	            
	        }
	}
	
  }
}

Last updated