cURL
curl --request GET \ --url https://sandbox.api.acountpay.com/v1/partner/payments/{id}/status \ --header 'X-Partner-Client-Id: <api-key>' \ --header 'X-Partner-Client-Secret: <api-key>'
{ "paymentId": 456, "status": "paid", "amount": 149.5, "currency": "DKK", "referenceNumber": "ORDER-123" }
Returns the current status of a payment. Use this for polling as a fallback alongside webhooks.
Your partner client ID
Your partner client secret
Payment ID
Payment status
456
"paid"
149.5
"DKK"
"ORDER-123"
Was this page helpful?