Entrar

Listar refs de um Pagamento

GET https://{organization}.myguper.com/api/register/payment-external-ref/by-payment/{paymentId}

Lista todos os refId externos mapeados para um pagamento, uma linha por source (interface).

É o inverso de /api/register/{interface}/payment/{refId}: aquele vai de refId para entidade, este vai de entidade para refIds. Espelha /api/register/person-external-ref/by-person/{personId}.

Devolve array vazio quando não há mapeamento. Não dá 404 para id desconhecido.

Try-it values populated from environment ACME (Demo)


Autenticação

Token

Send your user token in the x-guper-authorization header.

Cabeçalhos

Name Type Description
x-guper-authorization * string User token issued by Guper.
Content-Type * string Always `application/json` for endpoints that accept a JSON body.

Parâmetros do caminho

Name Type Description
paymentId * integer Guper id of the payment.

Respostas

[{"refId":"VTEX-001","source":"vtex"},{"refId":"11-2","source":"pos"}]
Copied to clipboard