Authorization: Bearer ********************
{
"amount": 65,
"key_type": "document", //document, phone, email, randomKey, a1c0ccbf-0374-4ed6-a09b-649fbba13584
"key": "01234567890",
"external_id": "{{$guid}}"
}
curl --location --request POST 'https://api.valut.app/openbank/v1/pix/payments' \
--header 'Content-Type: application/json' \
--data-raw '{
"amount": 65,
"key_type": "document", //document, phone, email, randomKey, a1c0ccbf-0374-4ed6-a09b-649fbba13584
"key": "01234567890",
"external_id": "{{$guid}}"
}'
{
"pix_id": "11112222-ce91-4654-8f97-f4955d5e0b6a",
"endToEndId": "E7102786620220713142814756293322",
"amount": 101,
"tax_amount": 0,
"status": "processing",
"created_at": "2022-07-13T11:28:15.221904-03:00",
"external_id": "22228b26-4c53-44e4-b945-6b5fa8727f0b",
"receiver": {
"ipsb": "18236120",
"bank_name": "NU PAGAMENTOS - IP",
"branch": "0001",
"account_number": "0123455",
"account_type": "ContaPagamento",
"document": "01234567890",
"document_type": "CPF",
"name": "string",
"trade_name": "string"
}
}