curl --request POST \
--url https://api.plane.com/v1/charges \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"payments": [
"<string>"
],
"source": "<string>",
"date": "<string>",
"reference": "<string>",
"metadata": {}
}
'{
"id": "ch_oUEpLsdApEb3EGzEeYTBRvGv",
"status": "pending"
}
curl --request POST \
--url https://api.plane.com/v1/charges \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"payments": [
"<string>"
],
"source": "<string>",
"date": "<string>",
"reference": "<string>",
"metadata": {}
}
'{
"id": "ch_oUEpLsdApEb3EGzEeYTBRvGv",
"status": "pending"
}
{
"id": "ch_oUEpLsdApEb3EGzEeYTBRvGv",
"status": "pending"
}
Was this page helpful?