Skip to main content

Sandbox: French checks

When testing your integration, you might need to simulate certain events with the Partner Testing API.

Simulate booking a check​

mutation SimulateCheckBooking {
simulateIncomingCheckBooking(
input: { transactionId: "$YOUR_TRANSACTION_ID" }
) {
... on SimulateIncomingCheckBookingSuccessPayload {
__typename
transactionId
}
... on ForbiddenRejection {
__typename
message
}
... on TransactionNotFoundRejection {
__typename
message
transactionId
}
}
}

Simulate releasing rolling reserve​

mutation SimulateReleaseRollingReserve {
simulateReleaseReservedBalance(
input: { transactionId: "$YOUR_TRANSACTION_ID" }
) {
... on ForbiddenRejection {
__typename
message
}
... on TransactionNotFoundRejection {
__typename
message
transactionId
}
... on ReleaseReservedBalanceSuccessPayload {
__typename
transactionId
}
}
}

Simulate rejecting a checkIn transaction​

mutation SimulateIncomingCheckReject {
simulateIncomingCheckRejection(
input: {
transactionId: "$YOUR_TRANSACTION_ID"
reasonCode: BeneficiaryMissingOrIncorrect
}
) {
... on SimulateIncomingCheckRejectionSuccessPayload {
__typename
transactionId
}
... on SimulateIncomingCheckRejectionErrorPayload {
__typename
reason
}
... on ForbiddenRejection {
__typename
message
}
... on TransactionNotFoundRejection {
__typename
message
transactionId
}
}
}

Simulate a checkInReturn transaction​

mutation SimulateCheckInReturn {
simulateIncomingCheckReturn(
input: { transactionId: "$YOUR_TRANSACTION_ID" }
) {
... on SimulateIncomingCheckReturnSuccessPayload {
__typename
transactionId
}
... on ForbiddenRejection {
__typename
message
}
... on TransactionNotFoundRejection {
__typename
message
transactionId
}
}
}

Simulate generating a test check​

mutation GenerateCheck {
generateTestCheck(input: { fnciResult: IrregularOrange }) {
... on GenerateCheckSuccessPayload {
__typename
cmc7
rlmcKey
}
... on InternalErrorRejection {
__typename
message
}
}
}
{
"data": {
"generateTestCheck": {
"__typename": "GenerateCheckSuccessPayload",
"cmc7": "7750249291141200908359685227068",
"rlmcKey": "46"
}
}
}