Skip to content

Transactions

A transfer credits the parent’s advance, applies it to the open term, and carries the remainder forward. Under the sandbox seed the parent bears the rail fee, so the net is credited; a school on fee_mode: gross is credited the gross and books the fee itself.

Post a transfer · POST /api/v1/transfers

curl -s https://pay.schoolcloud.ng/api/v1/transfers \
  -H "Authorization: Bearer scp_test_katsina_sandbox_public_fixture_key" \
  -H "Idempotency-Key: amina-term-topup-001" \
  -H "Content-Type: application/json" \
  -d '{"customer_reference":"guardian_amina_bello","amount_kobo":10000000,"provider":"paystack",
       "sender_account_name":"AMINA BELLO","sender_bank":"GTBank","sender_account_number":"0123456789"}'

Query · GET /api/v1/transactions

Scopes transfers:write and transactions:read. Refunds go through POST /api/v1/refunds and are accepted only to the account that sent the original transfer.