Payments
The Payment resource in IVPAY allows you to create and read payment requests. You can initiate payments with specified fiat amounts and monitor their statuses. This resource simplifies payment management, ensuring efficient handling of transactions for businesses.
GET
Get payment
GET
Get paymentGet the payment details
Endpoint
GET
/payment/{payment_id}
Headers
Content-Type
application/json
X-API-KEY
your_api_key_here
Response
POST
Create a new payment
POST
Create a new paymentCreate a payment for the customer for a specified amount
Endpoint
POST
/payment/create
Headers
Content-Type
application/json
X-API-KEY
your_api_key_here
Body
amount_fiat
string
Yes
Amount for payment
currency_fiat
string
Yes
Fiat currency ticker
foreign_id
string
No
Additional field (internal id, for example)
url_success
string
No
URL where to redirect the customer after a successful payment
url_failed
string
No
URL where to redirect the customer after a failed payment
Response
Statuses
The possible payment statuses are explained here.
Last updated