Create a PaymentConsent - MIT

POST {{url}}/api/v1/pa/payment_consents/create

Request Body

{"request_id"=>"{{$guid}}", "customer_id"=>"{{customer_id}}", "payment_method"=>{"id"=>"{{payment_method_id}}", "type"=>"card"}, "next_triggered_by"=>"merchant", "merchant_trigger_reason"=>"scheduled", "connected_account_id"=>"{{connected_account_id}}"}

HEADERS

KeyDatatypeRequiredDescription
x-on-behalf-ofstring