Check Payment
Verify transactions after payments.
You do this by making a POST request to the check payment endpoint from your app using your transaction reference code.
Authenticating Your Access
To check payment, you must authenticate your access. To learn how, refer to Authentication.
Check payment
POST /api/v1/booking/check_payment
Headers
Name
Type
Description
x-token*
String
Token provided
Request Body
Name
Type
Description
reference*
String
Payment reference code
{
"msg": "There was an error in the payment method"
}{
"msg": "Reference code does not exist"
}{
"msg": "Tickets minted",
"tickets": [
{
"pk": 3,
"id": "9a250275-bfdc-4098-b64a-766f992bbdab",
"name": "Casino",
"area": "General",
"price": 15000,
"address": "Brown 344",
"place": "Bar Shevere",
"city": "Caba",
"province": "Buenos Aires",
"country": "Argentina",
"status": 1,
"date": "2023-02-07",
"time": "20:15:00",
"image": "https://res.cloudinary.com/jonmenez/image/upload/v1673635061/eeeeee_mfaywh.jpg",
"video": "Insert video",
"tx_link": "No minted",
"resale": 0,
"resale_price": 15000,
"event_id": 1,
"ticket_id": 1,
"token_id": 0,
"customerInternalId": "vVmrYn",
"createdAt": "2023-03-03T02:05:25.000Z",
"user_id": 7
},
{
"pk": 4,
"id": "8249b46d-5e58-4c0c-9d52-c181ba53f520",
"name": "Casino",
"area": "General",
"price": 15000,
"address": "Brown 344",
"place": "Bar Shevere",
"city": "Caba",
"province": "Buenos Aires",
"country": "Argentina",
"status": 1,
"date": "2023-02-07",
"time": "20:15:00",
"image": "https://res.cloudinary.com/jonmenez/image/upload/v1673635061/eeeeee_mfaywh.jpg",
"video": "Insert video",
"tx_link": "No minted",
"resale": 0,
"resale_price": 15000,
"event_id": 1,
"ticket_id": 1,
"token_id": 0,
"customerInternalId": "vVmrYn",
"createdAt": "2023-03-03T02:05:25.000Z",
"user_id": 7
}
]
}Last updated