Request
Body Params application/json
{
"sessionid": "string",
"payment_method": "pix"
}
Request Code Samples
curl --location --request PUT 'https://petstore-demo.apidog.com/api/checkout/payment' \
--header 'Content-Type: application/json' \
--data-raw '{
"sessionid": "string",
"payment_method": "pix"
}'
Responses
application/json {
"status": "waiting_payment",
"success": true,
"order": {
"code": "d4c75eeb-3b90-497a-8f25-7236e773420f",
"payment_method": "pix"
},
"redirect": {
"url": "https://illiterate-toy.net"
}
}
Modified at 2023-01-29 06:27:54