Payments
Last updated
Last updated
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 paymentGet the payment details
GET
/payment/{payment_id}
Name | Value |
---|---|
POST
Create a new paymentCreate a payment for the customer for a specified amount
POST
/payment/create
The possible payment statuses are explained here.
Name | Value |
---|---|
Name | Type | Required | Description |
---|---|---|---|
Content-Type
application/json
X-API-KEY
your_api_key_here
Content-Type
application/json
X-API-KEY
your_api_key_here
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