Provider callback reference
These endpoints receive events from the bank’s provider services. They use callback secrets instead of the bearer tokens issued to bank-client applications. Read the callback integration guide before configuring them. Download the provider OpenAPI contract. Each action below lists its supported URLs.
Receive card event
Receive card events from the gateway using X-API-KEY. Transaction events need a successful provider result and a stable original reference. Lifecycle events update card status without debiting the account.
Authentication: X-API-KEY callback secret supplied by the bank.
| Method | Route / alias |
|---|---|
| POST | /api/card/v1/webhooks/{provider}/{eventType} |
| Parameter | Location | Required | Type | Meaning |
|---|---|---|---|---|
| provider | path | Required when included in the URL | string | Card provider: providus or interswitch. Use the provider that delivered the event. |
| eventType | path | Required when included in the URL | string | Original provider event type, such as transaction_feedback or card_blocked. Match the payload to the transaction or lifecycle event. |
| request-reference | header | Optional | string | Unique correlation reference for this HTTP attempt. Echoed in the response. Does not prevent duplicate financial operations. |
| provider | body | Optional | string | Provider in the URL; supported values are providus and interswitch. |
| eventType | body | Conditional | string | Event type; generic URLs include it in the path. Transaction and lifecycle examples use different values. |
| sourceTraceId | body | Optional | string | Stable original event identifier, used only when a transaction reference is missing. |
| headers | body | Optional | object | Provider context; omit unless the bank requires it. |
| query | body | Optional | object | Provider context; omit unless the bank requires it. |
| payload | body | Yes | object | Event details: account, amount, successful result and original reference for transactions; card identifier and status for lifecycle events. |
| amlApprovalReference | body | Conditional | string | Include only when releasing the same event after the bank approves its AML hold. |
Request example
Replace the bank, account, loan and provider references with your staging values. Keep the original event reference when retrying a delivery.
{
"eventType": "transaction_feedback",
"payload": {
"institutionId": 1,
"accountNumber": "0123456789",
"transactionReference": "example-card-payment-001",
"amount": 100,
"responseCode": "00"
}
}
Save this JSON as callback-event.json before using the command below.
Use the base URL and callback secret from the callback setup instructions. This sends a real callback when run.
curl --fail-with-body --request POST \
"$COREWAVE_BASE_URL/api/card/v1/webhooks/providus/transaction_feedback" \
--header "X-API-KEY: $COREWAVE_CALLBACK_KEY" \
--header "request-reference: callback-$(uuidgen)" \
--header 'Content-Type: application/json' \
--data-binary @callback-event.json
Response statuses: 200, 202, 400, 401, 403, 404, 409, 415, 429, 500, 503. Read the response message for the result. The OpenAPI download includes the response fields for each status.
Interswitch Transaction Feedback
Receive an Interswitch transaction event using X-API-KEY. Reuse the original provider transaction reference on retries so the same debit is not posted twice.
Authentication: X-API-KEY callback secret supplied by the bank.
| Method | Route / alias |
|---|---|
| POST | /cba/cards/interswitch/transaction-feedback |
| Parameter | Location | Required | Type | Meaning |
|---|---|---|---|---|
| request-reference | header | Optional | string | Unique correlation reference for this HTTP attempt. Echoed in the response. Does not prevent duplicate financial operations. |
| provider | body | Optional | string | Provider in the URL; supported values are providus and interswitch. |
| eventType | body | Conditional | string | Event type; generic URLs include it in the path. Transaction and lifecycle examples use different values. |
| sourceTraceId | body | Optional | string | Stable original event identifier, used only when a transaction reference is missing. |
| headers | body | Optional | object | Provider context; omit unless the bank requires it. |
| query | body | Optional | object | Provider context; omit unless the bank requires it. |
| payload | body | Yes | object | Event details: account, amount, successful result and original reference for transactions; card identifier and status for lifecycle events. |
| amlApprovalReference | body | Conditional | string | Include only when releasing the same event after the bank approves its AML hold. |
Request example
Replace the bank, account, loan and provider references with your staging values. Keep the original event reference when retrying a delivery.
{
"eventType": "transaction_feedback",
"payload": {
"institutionId": 1,
"accountNumber": "0123456789",
"transactionReference": "example-card-payment-001",
"amount": 100,
"responseCode": "00"
}
}
Save this JSON as callback-event.json before using the command below.
Use the base URL and callback secret from the callback setup instructions. This sends a real callback when run.
curl --fail-with-body --request POST \
"$COREWAVE_BASE_URL/cba/cards/interswitch/transaction-feedback" \
--header "X-API-KEY: $COREWAVE_CALLBACK_KEY" \
--header "request-reference: callback-$(uuidgen)" \
--header 'Content-Type: application/json' \
--data-binary @callback-event.json
Response statuses: 200, 202, 400, 401, 403, 404, 409, 415, 429, 500, 503. Read the response message for the result. The OpenAPI download includes the response fields for each status.
Interswitch Lifecycle Feedback
Receive an Interswitch card-status event using X-API-KEY. The request updates the linked card's status without moving money.
Authentication: X-API-KEY callback secret supplied by the bank.
| Method | Route / alias |
|---|---|
| POST | /cba/cards/interswitch/lifecycle-feedback |
| Parameter | Location | Required | Type | Meaning |
|---|---|---|---|---|
| request-reference | header | Optional | string | Unique correlation reference for this HTTP attempt. Echoed in the response. Does not prevent duplicate financial operations. |
| provider | body | Optional | string | Provider in the URL; supported values are providus and interswitch. |
| eventType | body | Conditional | string | Event type; generic URLs include it in the path. Transaction and lifecycle examples use different values. |
| sourceTraceId | body | Optional | string | Stable original event identifier, used only when a transaction reference is missing. |
| headers | body | Optional | object | Provider context; omit unless the bank requires it. |
| query | body | Optional | object | Provider context; omit unless the bank requires it. |
| payload | body | Yes | object | Event details: account, amount, successful result and original reference for transactions; card identifier and status for lifecycle events. |
| amlApprovalReference | body | Conditional | string | Include only when releasing the same event after the bank approves its AML hold. |
Request example
Replace the bank, account, loan and provider references with your staging values. Keep the original event reference when retrying a delivery.
{
"eventType": "card_blocked",
"payload": {
"institutionId": 1,
"cardId": "PROVIDER-CARD-001"
}
}
Save this JSON as callback-event.json before using the command below.
Use the base URL and callback secret from the callback setup instructions. This sends a real callback when run.
curl --fail-with-body --request POST \
"$COREWAVE_BASE_URL/cba/cards/interswitch/lifecycle-feedback" \
--header "X-API-KEY: $COREWAVE_CALLBACK_KEY" \
--header "request-reference: callback-$(uuidgen)" \
--header 'Content-Type: application/json' \
--data-binary @callback-event.json
Response statuses: 200, 202, 400, 401, 403, 404, 409, 415, 429, 500, 503. Read the response message for the result. The OpenAPI download includes the response fields for each status.
Providus Transaction Feedback
Receive a Providus transaction event using X-API-KEY. Reuse the original provider transaction reference on retries so the same debit is not posted twice.
Authentication: X-API-KEY callback secret supplied by the bank.
| Method | Route / alias |
|---|---|
| POST | /cba/cards/providus/transaction-feedback |
| Parameter | Location | Required | Type | Meaning |
|---|---|---|---|---|
| request-reference | header | Optional | string | Unique correlation reference for this HTTP attempt. Echoed in the response. Does not prevent duplicate financial operations. |
| provider | body | Optional | string | Provider in the URL; supported values are providus and interswitch. |
| eventType | body | Conditional | string | Event type; generic URLs include it in the path. Transaction and lifecycle examples use different values. |
| sourceTraceId | body | Optional | string | Stable original event identifier, used only when a transaction reference is missing. |
| headers | body | Optional | object | Provider context; omit unless the bank requires it. |
| query | body | Optional | object | Provider context; omit unless the bank requires it. |
| payload | body | Yes | object | Event details: account, amount, successful result and original reference for transactions; card identifier and status for lifecycle events. |
| amlApprovalReference | body | Conditional | string | Include only when releasing the same event after the bank approves its AML hold. |
Request example
Replace the bank, account, loan and provider references with your staging values. Keep the original event reference when retrying a delivery.
{
"eventType": "transaction_feedback",
"payload": {
"institutionId": 1,
"accountNumber": "0123456789",
"transactionReference": "example-card-payment-001",
"amount": 100,
"responseCode": "00"
}
}
Save this JSON as callback-event.json before using the command below.
Use the base URL and callback secret from the callback setup instructions. This sends a real callback when run.
curl --fail-with-body --request POST \
"$COREWAVE_BASE_URL/cba/cards/providus/transaction-feedback" \
--header "X-API-KEY: $COREWAVE_CALLBACK_KEY" \
--header "request-reference: callback-$(uuidgen)" \
--header 'Content-Type: application/json' \
--data-binary @callback-event.json
Response statuses: 200, 202, 400, 401, 403, 404, 409, 415, 429, 500, 503. Read the response message for the result. The OpenAPI download includes the response fields for each status.
Providus Lifecycle Feedback
Receive a Providus card-status event using X-API-KEY. The request updates the linked card's status without moving money.
Authentication: X-API-KEY callback secret supplied by the bank.
| Method | Route / alias |
|---|---|
| POST | /cba/cards/providus/lifecycle-feedback |
| Parameter | Location | Required | Type | Meaning |
|---|---|---|---|---|
| request-reference | header | Optional | string | Unique correlation reference for this HTTP attempt. Echoed in the response. Does not prevent duplicate financial operations. |
| provider | body | Optional | string | Provider in the URL; supported values are providus and interswitch. |
| eventType | body | Conditional | string | Event type; generic URLs include it in the path. Transaction and lifecycle examples use different values. |
| sourceTraceId | body | Optional | string | Stable original event identifier, used only when a transaction reference is missing. |
| headers | body | Optional | object | Provider context; omit unless the bank requires it. |
| query | body | Optional | object | Provider context; omit unless the bank requires it. |
| payload | body | Yes | object | Event details: account, amount, successful result and original reference for transactions; card identifier and status for lifecycle events. |
| amlApprovalReference | body | Conditional | string | Include only when releasing the same event after the bank approves its AML hold. |
Request example
Replace the bank, account, loan and provider references with your staging values. Keep the original event reference when retrying a delivery.
{
"eventType": "card_blocked",
"payload": {
"institutionId": 1,
"cardId": "PROVIDER-CARD-001"
}
}
Save this JSON as callback-event.json before using the command below.
Use the base URL and callback secret from the callback setup instructions. This sends a real callback when run.
curl --fail-with-body --request POST \
"$COREWAVE_BASE_URL/cba/cards/providus/lifecycle-feedback" \
--header "X-API-KEY: $COREWAVE_CALLBACK_KEY" \
--header "request-reference: callback-$(uuidgen)" \
--header 'Content-Type: application/json' \
--data-binary @callback-event.json
Response statuses: 200, 202, 400, 401, 403, 404, 409, 415, 429, 500, 503. Read the response message for the result. The OpenAPI download includes the response fields for each status.
Sms Alert
Send a Recova SMS notification for the bank identified by institutionId. Supply phoneNumber and message. Use the bank's callback secret for authentication; an SMS failure returns 503.
Authentication: Authorization: Bearer callback secret supplied by the bank.
| Method | Route / alias |
|---|---|
| POST | /api/integrations/recova/v1/{institutionId}/SmsAlert |
| POST | /api/integrations/recova/v1/{institutionId}/sms-alert |
| POST | /api/integrations/recova/v1/{institutionId}/SmsNotification |
| POST | /api/integrations/recova/v1/{institutionId}/sms-notification |
| Parameter | Location | Required | Type | Meaning |
|---|---|---|---|---|
| institutionId | path | Required when included in the URL | integer | Numeric bank ID supplied by the bank for this callback connection. Use that bank's callback secret. |
| request-reference | header | Optional | string | Unique correlation reference for this HTTP attempt. Echoed in the response. Does not prevent duplicate financial operations. |
| phoneNumber | body | Conditional | string | SMS recipient; supply phoneNumber or its phone alias. |
| phone | body | Conditional | string | Alternative to phoneNumber; prefer phoneNumber for new integrations. |
| message | body | Conditional | string | SMS text; supply message, smsContent or messageText. |
| smsContent | body | Conditional | string | Alternative SMS text field; prefer message. |
| messageText | body | Conditional | string | Alternative SMS text field; prefer message. |
| institutionCode | body | Optional | string | Additional bank reference supplied by the provider; the URL selects the bank. |
| loanReference | body | Optional | string | Reference of an existing loan at the bank identified in the URL. |
Request example
Replace the bank, account, loan and provider references with your staging values. Keep the original event reference when retrying a delivery.
{
"phoneNumber": "08012345678",
"message": "Your repayment is due."
}
Save this JSON as callback-event.json before using the command below.
Use the base URL and callback secret from the callback setup instructions. This sends a real callback when run.
curl --fail-with-body --request POST \
"$COREWAVE_BASE_URL/api/integrations/recova/v1/1/SmsAlert" \
--header "Authorization: Bearer $COREWAVE_CALLBACK_KEY" \
--header "request-reference: callback-$(uuidgen)" \
--header 'Content-Type: application/json' \
--data-binary @callback-event.json
Response statuses: 200, 400, 401, 403, 404, 415, 429, 500, 503. Read the response message for the result. The OpenAPI download includes the response fields for each status.
Mandate Creation
Receive a Recova mandate or disbursement update for an existing loanReference. Use the institutionId in the URL and that bank's callback secret. Check the response for approval or processing errors.
Authentication: Authorization: Bearer callback secret supplied by the bank.
| Method | Route / alias |
|---|---|
| POST | /api/integrations/recova/v1/{institutionId}/MandateCreation |
| POST | /api/integrations/recova/v1/{institutionId}/mandate-creation |
| POST | /api/integrations/recova/v1/{institutionId}/DisbursementCallback |
| POST | /api/integrations/recova/v1/{institutionId}/disbursement-callback |
| Parameter | Location | Required | Type | Meaning |
|---|---|---|---|---|
| institutionId | path | Required when included in the URL | integer | Numeric bank ID supplied by the bank for this callback connection. Use that bank's callback secret. |
| request-reference | header | Optional | string | Unique correlation reference for this HTTP attempt. Echoed in the response. Does not prevent duplicate financial operations. |
| loanReference | body | Yes | string | Reference of an existing loan at the bank identified in the URL. |
| institutionCode | body | Optional | string | Additional bank reference supplied by the provider; the URL selects the bank. |
| transaction_reference | body | Optional | string | Legacy spelling of transactionReference; use one spelling consistently. |
| transactionReference | body | Recommended | string | Original provider reference, unique to this event. Keep it unchanged on retries. If omitted, the API uses loanReference, which can treat later events on the same loan as duplicates. |
Request example
Replace the bank, account, loan and provider references with your staging values. Keep the original event reference when retrying a delivery.
{
"loanReference": "LOAN-001",
"transactionReference": "example-mandate-001"
}
Save this JSON as callback-event.json before using the command below.
Use the base URL and callback secret from the callback setup instructions. This sends a real callback when run.
curl --fail-with-body --request POST \
"$COREWAVE_BASE_URL/api/integrations/recova/v1/1/MandateCreation" \
--header "Authorization: Bearer $COREWAVE_CALLBACK_KEY" \
--header "request-reference: callback-$(uuidgen)" \
--header 'Content-Type: application/json' \
--data-binary @callback-event.json
Response statuses: 200, 400, 401, 403, 404, 409, 415, 429, 500, 503. Read the response message for the result. The OpenAPI download includes the response fields for each status.
Loan Balance Update
Receive a Recova collection or balance update for an existing loanReference. Use the institutionId in the URL and that bank's callback secret. Check the response before marking the collection as recorded.
Authentication: Authorization: Bearer callback secret supplied by the bank.
| Method | Route / alias |
|---|---|
| POST | /api/integrations/recova/v1/{institutionId}/LoanBalanceUpdate |
| POST | /api/integrations/recova/v1/{institutionId}/loan-balance-update |
| POST | /api/integrations/recova/v1/{institutionId}/CollectionUpdate |
| POST | /api/integrations/recova/v1/{institutionId}/collection-update |
| Parameter | Location | Required | Type | Meaning |
|---|---|---|---|---|
| institutionId | path | Required when included in the URL | integer | Numeric bank ID supplied by the bank for this callback connection. Use that bank's callback secret. |
| request-reference | header | Optional | string | Unique correlation reference for this HTTP attempt. Echoed in the response. Does not prevent duplicate financial operations. |
| loanReference | body | Yes | string | Reference of an existing loan at the bank identified in the URL. |
| debitedAmount | body | Conditional | number | Positive Naira amount used when settlementAmount is not positive. |
| recoveryFee | body | Optional | number | Provider-reported recovery fee; not a substitute for the settlement amount. |
| settlementAmount | body | Conditional | number | Positive Naira amount to repay. Takes precedence over debitedAmount when positive. |
| transactionReference | body | Recommended | string | Original provider reference, unique to this event. Keep it unchanged on retries. If omitted, the API uses loanReference, which can treat later events on the same loan as duplicates. |
| narration | body | Optional | string | Description of the collection. |
| institutionCode | body | Optional | string | Additional bank reference supplied by the provider; the URL selects the bank. |
| amlApprovalReference | body | Conditional | string | Include only when releasing the same event after the bank approves its AML hold. |
Request example
Replace the bank, account, loan and provider references with your staging values. Keep the original event reference when retrying a delivery.
{
"loanReference": "LOAN-001",
"transactionReference": "example-collection-001",
"debitedAmount": 100,
"settlementAmount": 100,
"recoveryFee": 0,
"narration": "Example loan collection"
}
Save this JSON as callback-event.json before using the command below.
Use the base URL and callback secret from the callback setup instructions. This sends a real callback when run.
curl --fail-with-body --request POST \
"$COREWAVE_BASE_URL/api/integrations/recova/v1/1/LoanBalanceUpdate" \
--header "Authorization: Bearer $COREWAVE_CALLBACK_KEY" \
--header "request-reference: callback-$(uuidgen)" \
--header 'Content-Type: application/json' \
--data-binary @callback-event.json
Response statuses: 200, 202, 400, 401, 403, 404, 409, 415, 429, 500, 503. Read the response message for the result. The OpenAPI download includes the response fields for each status.
Loan Due Amount
Get the principal, interest, penalties, default charges and fees due through the bank's financial date. Supply loanReference in the path or query and authenticate with the bank's Recova callback secret.
Authentication: Authorization: Bearer callback secret supplied by the bank.
| Method | Route / alias |
|---|---|
| GET | /api/integrations/recova/v1/{institutionId}/LoanDueAmount/{loanReference} |
| GET | /api/integrations/recova/v1/{institutionId}/LoanDue/{loanReference} |
| GET | /api/integrations/recova/v1/{institutionId}/LoanDueAmount |
| GET | /api/integrations/recova/v1/{institutionId}/loan-due |
| GET | /api/integrations/recova/v1/{institutionId}/loan-due-amount |
| Parameter | Location | Required | Type | Meaning |
|---|---|---|---|---|
| institutionId | path | Required when included in the URL | integer | Numeric bank ID supplied by the bank for this callback connection. Use that bank's callback secret. |
| loanReference | path | Required when included in the URL | string | Original loan reference of an existing loan at the bank identified by institutionId. |
| loanReference | query | Optional | string | Original loan reference. Required on a query-only URL unless queryLoanReference is supplied. Omit when the URL already contains the loan reference. |
| queryLoanReference | query | Optional | string | Legacy alias of loanReference. Prefer loanReference and send only one spelling. |
| request-reference | header | Optional | string | Unique correlation reference for this HTTP attempt. Echoed in the response. Does not prevent duplicate financial operations. |
Use the base URL and callback secret from the callback setup instructions. This sends a real callback when run.
curl --fail-with-body --request GET \
"$COREWAVE_BASE_URL/api/integrations/recova/v1/1/LoanDueAmount/LOAN-001" \
--header "Authorization: Bearer $COREWAVE_CALLBACK_KEY" \
--header "request-reference: callback-$(uuidgen)"
For a query-only alias, include the original reference: GET /api/integrations/recova/v1/1/loan-due?loanReference=LOAN-001. Replace the bank ID and loan reference. Do not send an empty query-only request.
Response statuses: 200, 400, 401, 403, 404, 415, 429, 500. Read the response message for the result. The OpenAPI download includes the response fields for each status.