Pix
Cadastrar chave Pix
Changed onCadastra uma chave Pix para um Customer e devolve o Payment Method resultante.
post/brazil/pix_banking/onetime/initialize-enrollment
Request
- Base URLhttps://api.trytoku.com
- URLhttps://api.trytoku.com/brazil/pix_banking/onetime/initialize-enrollment
- AuthAPI key in header x-api-key
Request body
Example request
{
"id_account": "acc__ZhE-DRnJa67LOmGZOWFN-vUcQQn50o0",
"id_customer": "cus_5FLqIhR1G5SzTZUXuisNM3WpViumkr5-",
"id_subscription": "sub_N06VjCy3ZPfCxjFJdaspyTlEaWj8utP-"
}Response
Successful Response
Example response
{
"id_payment_method": "pm_i7llS76GQXTTrbIVDsXo6vy4IA0W2MUr"
}Changes
- info
endpoint added
- info