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
Name | Value |
---|---|
Content-Type |
|
X-API-KEY |
|
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
Name | Value |
---|---|
Content-Type |
|
X-API-KEY |
|
Body
Name | Type | Required | Description |
---|---|---|---|
| string | Yes | Amount for payment |
| string | Yes | Fiat currency ticker |
| string | No | Additional field (internal id, for example) |
| string | No | URL where to redirect the customer after a successful payment |
| string | No | URL where to redirect the customer after a failed payment |
Response
Statuses
The possible payment statuses are explained here.
Last updated