Credit Card Payment
This API is used to pay with credit card
post
Authorizations
AuthorizationstringRequired
Type 'Bearer ' followed by your JWT token. Example: "Bearer eyJhbGciOi..."
Path parameters
project_idstringRequired
Project ID
Responses
200
Successful Response
application/json
codeintegerOptionalExample:
200messagestringOptionalExample:
Successpost/core/payment/user-project-cc/{project_id}/pay
POST /core/payment/user-project-cc/{project_id}/pay HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Accept: */*
200
Successful Response
{
"code": 200,
"data": {
"amount": "text",
"backend_url": "text",
"currency": "text",
"lang": "text",
"merchant_code": "text",
"payment_id": "text",
"payment_url": "text",
"prod_desc": "text",
"ref_no": "text",
"remark": "text",
"response_url": "text",
"signature": "text",
"user_contact": "text",
"user_email": "text",
"user_name": "text"
},
"message": "Success"
}Last updated