curl --request GET \
--url 'https://app.amplopay.com/api/v1/gateway/subscriptions?identifier=assinatura-123' \
--header 'x-public-key: SUA_CHAVE_PUBLICA_AQUI' \
--header 'x-secret-key: SUA_CHAVE_PRIVADA_AQUI'
Endpoints
Search subscriptions
Query subscriptions created through the API
GET
/
gateway
/
subscriptions
curl --request GET \
--url 'https://app.amplopay.com/api/v1/gateway/subscriptions?identifier=assinatura-123' \
--header 'x-public-key: SUA_CHAVE_PUBLICA_AQUI' \
--header 'x-secret-key: SUA_CHAVE_PRIVADA_AQUI'
Queries subscriptions created through the API.
Avoid frequent polling. Use webhooks to track updates whenever possible.
Query parameters
string
Subscription ID.
string
Subscription identifier sent by your application.
string
Subscription status filter.
Request example
curl --request GET \
--url 'https://app.amplopay.com/api/v1/gateway/subscriptions?identifier=assinatura-123' \
--header 'x-public-key: SUA_CHAVE_PUBLICA_AQUI' \
--header 'x-secret-key: SUA_CHAVE_PRIVADA_AQUI'
Was this page helpful?

