Sign in

Bulk resolve Payment refs

POST https://{organization}.myguper.com/api/register/{interface}/payment/_resolve

Bulk lookup: pass a JSON array of refIds, get back a map refId -> entityId | null. Up to 500 refIds per request. Optimized for the order processing hot path (single SQL with IN vs N round-trips).

Try-it values populated from environment ACME (Demo)


Authentication

Token

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

Headers

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.

Request body

Content-Type: application/json

{
    "(array of strings)": "[\"VTEX-NIKE-001\", \"VTEX-ADIDAS-001\", \"FAKE-DOES-NOT-EXIST\"]"
}

Responses

{"VTEX-NIKE-001":42,"VTEX-ADIDAS-001":89,"FAKE-DOES-NOT-EXIST":null}
Copied to clipboard