cURL
curl --request GET \ --url https://api.astronpay.co/api/v1/receivers/{id} \ --header 'x-api-key: <api-key>' \ --header 'x-api-secret: <api-key>'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "merchantId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "type": "PF", "name": "João Silva", "document": "12345678901", "documentType": "CPF", "status": "PENDING", "kycStatus": "PENDING", "createdAt": "2023-11-07T05:31:56Z", "email": "jsmith@example.com", "phone": "+5511999999999", "limits": { "dailyLimitBrl": 50000, "dailyTransactionLimit": 20, "nightTransactionsEnabled": false }, "walletAddress": "4k5d...Solana", "updatedAt": "2023-11-07T05:31:56Z" }
OK
PF
PJ
"João Silva"
"12345678901"
CPF
CNPJ
PENDING
ACTIVE
SUSPENDED
BLOCKED
SUBMITTED
UNDER_REVIEW
APPROVED
REJECTED
"+5511999999999"
Show child attributes
"4k5d...Solana"