Aprovar ou rejeitar
Este endpoint permite aprovar ou rejeitar uma transferência sem a necessidade de fornecer informações adicionais da conta envolvida.
patch/transfer_requests/{apiPartnerTransactionUuid}/update_state
Request
- Base URLhttps://pagamentos.grafeno.be/api/v2
- AuthHTTP basic and API key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
apiPartnerTransactionUuidstring required
UUID único da transação gerado pelo parceiro API da transferência a ser aprovada ou rejeitada. Este pode ser obtido através da API de listagem de transferências pendentes.
Request body
Response
200
Example response
{
"data": {
"id": "806bccc6-7aa3-4029-8b64-1fc793cc7c56",
"type": "transferRequest",
"attributes": {
"apiPartnerTransactionUuid": "c8fd257a-04b9-48b2-859b-03e337a82b7a",
"state": "approved"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.