Skip to main content
GET
/
api
/
payments
/
{id}
Check payment status
curl --request GET \
  --url https://api.stage.rocka.live/api/payments/{id} \
  --header 'x-api-key: <api-key>'
{
  "amount": 123,
  "currency": "<string>",
  "id": "<string>",
  "status": "New",
  "description": "<string>"
}

Authorizations

x-api-key
string
header
required

To get your own API keys, go to the Integration tab in your Rocka Hub. Use your test (not live) credentials to make API requests from this form.

Path Parameters

id
string
required

The payment's ID, which is returned by the payment creation request and can also be found in your Rocka Hub.

Response

200 - application/json

Response for the particular payment status

amount
number<decimal>
required

Payment amount

currency
string
required

Payment currency

id
string
required

Payment ID in Rocka's systems.

status
enum<string>
required

Payment status.

Available options:
New,
Processing,
Failed,
Awaiting confirmation,
Done
description
string

Short payment description for the customer.