Create Charges
Create Funding Charge
Create a new funding charge. For more information on use-cases, see here.
Visa DMS support is <a class="experimental-tag-link" href="https://docs.silverflow.com/guides/api-lifecycle#tag/EXPERIMENTAL-Tag"><span class="tag experimental-tag">EXPERIMENTAL</span></a>.
NOTE: This endpoint requires configuration on a per client basis and may be subject to additional approvals and implementation with the card schemes. Contact your Silverflow representative before integrating with this endpoint.
Requires charges:Create permission.
post/charges/funding
Request
- Base URLhttps://eu-west-1.api.silverflow.com/v1
- Auth
- HTTP basic
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Idempotency-Keystring
This key is used to deduplicate requests that are retried. For more information see the section on Idempotency.
Example:28gKCluIEKp8jVboUyr2
Request body
Example request
{
"merchantAcceptorResolver": {
"merchantAcceptorKey": "mac-1eOdAHhgstYTUhlphPFf"
},
"card": {
"number": "4761070000000905",
"cvc": "123",
"holderName": "Joe Cardholder"
},
"tokenDetails": {
"eci": "05",
"tokenCryptogram": "112233445566778899001122334="
},
"amount": {
"value": 2599,
"currency": "EUR"
},
"threeDsAuthenticationResult": {
"authenticationValue": "kANBCCDDYJYjadADpka8KoQMqS",
"directoryServerTransId": "5340af8a-5505-4bf6-abcd-123412341234",
"eci": "05"
},
"transactionReference": "Dz3dIzE74EfH1HeTInyE",
"receiver": {
"organizationName": "Name",
"firstName": "Name",
"middleName": "Name",
"lastName": "Name",
"accountNumber": "5286940020000007",
"address": {
"countryCode": {
"alpha3": "NLD"
},
"stateOrProvince": "NH",
"city": "Amsterdam",
"line1": "Langtown Road",
"line2": "4200",
"postalCode": "1234BC"
}
},
"sender": {
"organizationName": "Name",
"firstName": "Name",
"middleName": "Name",
"lastName": "Name",
"accountNumber": "5286940020000007",
"address": {
"countryCode": {
"alpha3": "NLD"
},
"stateOrProvince": "NH",
"city": "Amsterdam",
"line1": "Langtown Road",
"line2": "4200",
"postalCode": "1234BC"
},
"nationality": {
"alpha3": "NLD"
}
},
"dynamicDescriptor": {
"merchantName": "Acme Inc.",
"merchantCity": "Amsterdam"
},
"riskAssessmentKey": "rak-1e1dAHhgstYTUhlphPzZ",
"foreignRetailer": {
"amount": 1000
},
"subMerchant": {
"id": "SUB123456",
"address": {
"countryCode": {
"alpha3": "NLD"
},
"stateOrProvince": "NH",
"city": "Amsterdam",
"line1": "Langtown Road",
"line2": "4200",
"postalCode": "1234BC"
}
}
}Response
The created funding charge
Example response
{
"key": "chg-1e1dAHhgstYTUhlphPzZ",
"merchantAcceptorRef": {
"key": "mac-1eOdAHhgstYTUhlphPFf",
"version": 1
},
"amount": {
"value": 2599,
"currency": "EUR"
},
"transactionReference": "Dz3dIzE74EfH1HeTInyE",
"receiver": {
"organizationName": "Name",
"firstName": "Name",
"middleName": "Name",
"lastName": "Name",
"accountNumber": "************0007",
"address": {
"countryCode": {
"alpha3": "NLD",
"alpha2": "NL",
"numeric": "528"
},
"stateOrProvince": "NH",
"city": "Amsterdam",
"line1": "Langtown Road",
"line2": "4200",
"postalCode": "1234BC"
}
},
"sender": {
"organizationName": "Name",
"firstName": "Name",
"middleName": "Name",
"lastName": "Name",
"accountNumber": "************0007",
"address": {
"countryCode": {
"alpha3": "NLD",
"alpha2": "NL",
"numeric": "528"
},
"stateOrProvince": "NH",
"city": "Amsterdam",
"line1": "Langtown Road",
"line2": "4200",
"postalCode": "1234BC"
},
"nationality": {
"alpha3": "NLD",
"alpha2": "NL",
"numeric": "528"
}
},
"status": {
"authentication": "authenticated",
"authorization": "approved",
"clearing": "pending"
},
"authentication": {
"sca": {
"result": {
"directoryServerTransId": "5340af8a-5505-4bf6-abcd-123412341234"
}
}
},
"authorizationIsoFields": {
"responseCode": "00",
"responseCodeDescription": "Approved",
"authorizationCode": "4A4316",
"systemTraceAuditNumber": "123456",
"retrievalReferenceNumber": "131608123456",
"networkSpecificFields": {
"cvcResult": "Y",
"avsResult": "Y"
}
},
"dynamicDescriptor": {
"merchantName": "Acme Inc.",
"merchantCity": "Amsterdam"
},
"foreignRetailer": {
"amount": 1000
},
"subMerchant": {
"id": "SUB123456",
"address": {
"countryCode": {
"alpha3": "NLD",
"alpha2": "NL",
"numeric": "528"
},
"stateOrProvince": "NH",
"city": "Amsterdam",
"line1": "Langtown Road",
"line2": "4200",
"postalCode": "1234BC"
}
},
"tokenDetails": {
"eci": "05"
},
"version": 1
}Changes
No recorded changes to this operation across all 1 revision of this API.