Skip to navigation

Get effective geo policy

Get effective geo policy.

Credential: Customer session

Before you call

  • A customer session for the same partner, integration, customer, wallet and chain.

Effective blocked state is Sinbad global block OR partner block. Unresolved locations return status unknown and allowed false.

Confirm with Sinbad that this endpoint is enabled in your environment.

Errors

StatusCodeWhat to do
400VALIDATION_ERRORCorrect the fields reported in details before retrying.
401UNAUTHENTICATEDCreate a new customer session or use a valid server credential.
403FORBIDDENCheck credential ownership, integration and the supplied Origin.
503UPSTREAM_ERRORRetry with backoff; preserve the same idempotency key for a repeated mutation.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Response

Effective geo result
statusenum
Allowed values:
allowedboolean
countryCodestring or null
blockedByenum or null
Allowed values:

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
503
Service Unavailable Error