POST
/
sponsors
/
{sponsor_id}
/
deposit
cURL
curl --request POST \
  --url http://localhost:8080/sponsors/{sponsor_id}/deposit \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": 123,
  "gateway_ref": "<string>"
}
'
{
  "amount": {
    "value": 123
  },
  "provider_deposit_id": "<string>",
  "sponsor_id": "<string>",
  "status": "<string>",
  "gateway_ref": "<string>"
}

Path Parameters

sponsor_id
string
required

Sponsor ID

Body

application/json
amount
number<double>
required
gateway_ref
string | null

Response

Deposit created

amount
object
required
provider_deposit_id
string
required
sponsor_id
string
required
status
string
required
gateway_ref
string | null