post https://sandbox-api.barte.com/v2/payment-links
Deve retornar os dados necessários para criar uma ordem de pagamento.
Log in to see full request history
Responses
Deve retornar os dados necessários para criar uma ordem de pagamento.
xxxxxxxxxx
29curl --request POST \
--url https://sandbox-api.barte.com/v2/payment-links \
--header 'accept: */*' \
--header 'content-type: application/json' \
--data '
{
"paymentSubscription": {
"type": "MONTHLY"
},
"allowedPaymentMethods": {
"pixMethod": {
"discount": {
"type": "PERCENT"
}
},
"bankSlipMethod": {
"discount": {
"type": "PERCENT"
}
},
"creditCardMethod": {
"discount": {
"type": "PERCENT"
},
"type": "RECURRENT"
}
}
}
'
Try It!
to start a request and see the response here! Or choose an example: