Skip to main content
POST
/
v1
/
payment-intents
create intent
curl --request POST \
  --url https://pay.sandbox.yabetoopay.com/v1/payment-intents \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": "10000",
  "currency": "xaf"
}'
{
  "id": "<string>",
  "amount": 123,
  "currency": "<string>",
  "label": "<string>",
  "clientSecret": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>"
}

Body

application/json
amount
string
required
currency
string
required
metadata
object
description
string

Response

200 - application/json
id
string
amount
number
currency
string
label
string
clientSecret
string
createdAt
string
updatedAt
string