Skip to main content
POST
/
payment-success
Error
A valid request URL is required to generate request examples
{
  "success": 1,
  "data": {
    "_id": "60d21b4667d0d8992e610c87",
    "activity_id": "60d21b4667d0d8992e610c85",
    "variation_id": "60d21b4667d0d8992e610c86",
    "reseller_id": "60d21b4667d0d8992e610c82",
    "status": "Paid by Customer",
    "partnerConfirmation": "Confirmed",
    "bookingDate": "2023-07-15",
    "bookingTime": "10:00",
    "price": {
      "totalPrice": 150,
      "affiliateDeservedAmount": 15
    },
    "external_payment_id": "pay_1N9dvSLkdIwHu2QOxgMtN9dE"
  }
}

Authorizations

x-api-token
string
header
required

Body

application/json
booking_id
string
required
Example:

"60d21b4667d0d8992e610c87"

external_payment_id
string
required
Example:

"pay_1N9dvSLkdIwHu2QOxgMtN9dE"

Response

Successful response

success
integer
Example:

1

data
object