Skip to main content

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.

MethodRoute / alias
POST/api/card/v1/webhooks/{provider}/{eventType}
ParameterLocationRequiredTypeMeaning
providerpathRequired when included in the URLstringCard provider: providus or interswitch. Use the provider that delivered the event.
eventTypepathRequired when included in the URLstringOriginal provider event type, such as transaction_feedback or card_blocked. Match the payload to the transaction or lifecycle event.
request-referenceheaderOptionalstringUnique correlation reference for this HTTP attempt. Echoed in the response. Does not prevent duplicate financial operations.
providerbodyOptionalstringProvider in the URL; supported values are providus and interswitch.
eventTypebodyConditionalstringEvent type; generic URLs include it in the path. Transaction and lifecycle examples use different values.
sourceTraceIdbodyOptionalstringStable original event identifier, used only when a transaction reference is missing.
headersbodyOptionalobjectProvider context; omit unless the bank requires it.
querybodyOptionalobjectProvider context; omit unless the bank requires it.
payloadbodyYesobjectEvent details: account, amount, successful result and original reference for transactions; card identifier and status for lifecycle events.
amlApprovalReferencebodyConditionalstringInclude 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.

MethodRoute / alias
POST/cba/cards/interswitch/transaction-feedback
ParameterLocationRequiredTypeMeaning
request-referenceheaderOptionalstringUnique correlation reference for this HTTP attempt. Echoed in the response. Does not prevent duplicate financial operations.
providerbodyOptionalstringProvider in the URL; supported values are providus and interswitch.
eventTypebodyConditionalstringEvent type; generic URLs include it in the path. Transaction and lifecycle examples use different values.
sourceTraceIdbodyOptionalstringStable original event identifier, used only when a transaction reference is missing.
headersbodyOptionalobjectProvider context; omit unless the bank requires it.
querybodyOptionalobjectProvider context; omit unless the bank requires it.
payloadbodyYesobjectEvent details: account, amount, successful result and original reference for transactions; card identifier and status for lifecycle events.
amlApprovalReferencebodyConditionalstringInclude 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.

MethodRoute / alias
POST/cba/cards/interswitch/lifecycle-feedback
ParameterLocationRequiredTypeMeaning
request-referenceheaderOptionalstringUnique correlation reference for this HTTP attempt. Echoed in the response. Does not prevent duplicate financial operations.
providerbodyOptionalstringProvider in the URL; supported values are providus and interswitch.
eventTypebodyConditionalstringEvent type; generic URLs include it in the path. Transaction and lifecycle examples use different values.
sourceTraceIdbodyOptionalstringStable original event identifier, used only when a transaction reference is missing.
headersbodyOptionalobjectProvider context; omit unless the bank requires it.
querybodyOptionalobjectProvider context; omit unless the bank requires it.
payloadbodyYesobjectEvent details: account, amount, successful result and original reference for transactions; card identifier and status for lifecycle events.
amlApprovalReferencebodyConditionalstringInclude 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.

MethodRoute / alias
POST/cba/cards/providus/transaction-feedback
ParameterLocationRequiredTypeMeaning
request-referenceheaderOptionalstringUnique correlation reference for this HTTP attempt. Echoed in the response. Does not prevent duplicate financial operations.
providerbodyOptionalstringProvider in the URL; supported values are providus and interswitch.
eventTypebodyConditionalstringEvent type; generic URLs include it in the path. Transaction and lifecycle examples use different values.
sourceTraceIdbodyOptionalstringStable original event identifier, used only when a transaction reference is missing.
headersbodyOptionalobjectProvider context; omit unless the bank requires it.
querybodyOptionalobjectProvider context; omit unless the bank requires it.
payloadbodyYesobjectEvent details: account, amount, successful result and original reference for transactions; card identifier and status for lifecycle events.
amlApprovalReferencebodyConditionalstringInclude 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.

MethodRoute / alias
POST/cba/cards/providus/lifecycle-feedback
ParameterLocationRequiredTypeMeaning
request-referenceheaderOptionalstringUnique correlation reference for this HTTP attempt. Echoed in the response. Does not prevent duplicate financial operations.
providerbodyOptionalstringProvider in the URL; supported values are providus and interswitch.
eventTypebodyConditionalstringEvent type; generic URLs include it in the path. Transaction and lifecycle examples use different values.
sourceTraceIdbodyOptionalstringStable original event identifier, used only when a transaction reference is missing.
headersbodyOptionalobjectProvider context; omit unless the bank requires it.
querybodyOptionalobjectProvider context; omit unless the bank requires it.
payloadbodyYesobjectEvent details: account, amount, successful result and original reference for transactions; card identifier and status for lifecycle events.
amlApprovalReferencebodyConditionalstringInclude 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.

MethodRoute / 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
ParameterLocationRequiredTypeMeaning
institutionIdpathRequired when included in the URLintegerNumeric bank ID supplied by the bank for this callback connection. Use that bank's callback secret.
request-referenceheaderOptionalstringUnique correlation reference for this HTTP attempt. Echoed in the response. Does not prevent duplicate financial operations.
phoneNumberbodyConditionalstringSMS recipient; supply phoneNumber or its phone alias.
phonebodyConditionalstringAlternative to phoneNumber; prefer phoneNumber for new integrations.
messagebodyConditionalstringSMS text; supply message, smsContent or messageText.
smsContentbodyConditionalstringAlternative SMS text field; prefer message.
messageTextbodyConditionalstringAlternative SMS text field; prefer message.
institutionCodebodyOptionalstringAdditional bank reference supplied by the provider; the URL selects the bank.
loanReferencebodyOptionalstringReference 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.

MethodRoute / 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
ParameterLocationRequiredTypeMeaning
institutionIdpathRequired when included in the URLintegerNumeric bank ID supplied by the bank for this callback connection. Use that bank's callback secret.
request-referenceheaderOptionalstringUnique correlation reference for this HTTP attempt. Echoed in the response. Does not prevent duplicate financial operations.
loanReferencebodyYesstringReference of an existing loan at the bank identified in the URL.
institutionCodebodyOptionalstringAdditional bank reference supplied by the provider; the URL selects the bank.
transaction_referencebodyOptionalstringLegacy spelling of transactionReference; use one spelling consistently.
transactionReferencebodyRecommendedstringOriginal 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.

MethodRoute / 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
ParameterLocationRequiredTypeMeaning
institutionIdpathRequired when included in the URLintegerNumeric bank ID supplied by the bank for this callback connection. Use that bank's callback secret.
request-referenceheaderOptionalstringUnique correlation reference for this HTTP attempt. Echoed in the response. Does not prevent duplicate financial operations.
loanReferencebodyYesstringReference of an existing loan at the bank identified in the URL.
debitedAmountbodyConditionalnumberPositive Naira amount used when settlementAmount is not positive.
recoveryFeebodyOptionalnumberProvider-reported recovery fee; not a substitute for the settlement amount.
settlementAmountbodyConditionalnumberPositive Naira amount to repay. Takes precedence over debitedAmount when positive.
transactionReferencebodyRecommendedstringOriginal 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.
narrationbodyOptionalstringDescription of the collection.
institutionCodebodyOptionalstringAdditional bank reference supplied by the provider; the URL selects the bank.
amlApprovalReferencebodyConditionalstringInclude 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.

MethodRoute / 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
ParameterLocationRequiredTypeMeaning
institutionIdpathRequired when included in the URLintegerNumeric bank ID supplied by the bank for this callback connection. Use that bank's callback secret.
loanReferencepathRequired when included in the URLstringOriginal loan reference of an existing loan at the bank identified by institutionId.
loanReferencequeryOptionalstringOriginal loan reference. Required on a query-only URL unless queryLoanReference is supplied. Omit when the URL already contains the loan reference.
queryLoanReferencequeryOptionalstringLegacy alias of loanReference. Prefer loanReference and send only one spelling.
request-referenceheaderOptionalstringUnique 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.