curl --request POST \
--url https://api.example.com/api/payment-methods \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"customerIdentifier": "string",
"paymentGatewayType": "string",
"redirectUrl": "string",
"cancelUrl": "string"
}
'