{
"type": "object",
"properties": {
"detail": {
"type": "string"
},
"errorCode": {
"type": "integer"
},
"errorMessage": {
"type": "string"
}
}
}
curl --location --request POST 'https://guestapi.roomability.io/Paystack/Initialize' \
--header 'X-API-Key: {{api-key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "timothyojo@valinno.com",
"amountinkobo": 200000,
"currency": "NGN"
}'{
"status": true,
"message": "Authorization URL created",
"data": {
"authorization_Url": "https://checkout.paystack.com/kfx4ota680ptmpd",
"access_Code": "kfx4ota680ptmpd",
"reference": "sti58qbn3w"
},
"errorCode": 0,
"errorMessage": "Access code retrieved successfully."
}