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>",
"note": "<string>",
"metadata": {}
}
'{
"id": "ch_oUEpLsdApEb3EGzEeYTBRvGv",
"source": "src_CKC3YwrnW4x9AYpEwU8tSw6H",
"date": "2023-09-01",
"amount": "1283.50",
"currency": "USD",
"reference": "ODH8U1MX",
"note": null,
"metadata": {}
}
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>",
"note": "<string>",
"metadata": {}
}
'{
"id": "ch_oUEpLsdApEb3EGzEeYTBRvGv",
"source": "src_CKC3YwrnW4x9AYpEwU8tSw6H",
"date": "2023-09-01",
"amount": "1283.50",
"currency": "USD",
"reference": "ODH8U1MX",
"note": null,
"metadata": {}
}
{
"id": "ch_oUEpLsdApEb3EGzEeYTBRvGv",
"source": "src_CKC3YwrnW4x9AYpEwU8tSw6H",
"date": "2023-09-01",
"amount": "1283.50",
"currency": "USD",
"reference": "ODH8U1MX",
"note": null,
"metadata": {}
}
Was this page helpful?