POST
/
v1
/
payments
curl --request POST \
  --url https://api.getreditus.com/api/v1/payments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "referral_uid": "<string>",
  "referral_email": "<string>",
  "referral_id": "<string>",
  "amount": 123,
  "currency": "<string>",
  "idempotency_key": "<string>",
  "subscription_id": "<string>",
  "interval": "<string>",
  "interval_count": 123
}'
{
  "data": {
    "id": "<string>",
    "type": "<string>",
    "attributes": {
      "referral_uid": "<string>",
      "referral_email": "<string>",
      "referral_id": "<string>",
      "amount": 123,
      "currency": "<string>",
      "idempotency_key": "<string>",
      "subscription_id": "<string>",
      "interval": "<string>",
      "interval_count": 123
    }
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

202
application/json

Accepted

The response is of type object.