Create Charges
Create Payout Charge
Create a new payout charge. For more information on use-cases, see here.
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.
Currently only supported for Visa and Mastercard.
Requires the charges:CreatePayout or charges:Create permission.
post/charges/payout
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"
},
"amount": {
"value": 2599,
"currency": "EUR"
},
"initialTransactionReferences": {
"initialTransactionIdentifier": "303219322378732"
},
"threeDsAuthenticationResult": {
"authenticationValue": "kANBCCDDYJYjadADpka8KoQMqS",
"directoryServerTransId": "5340af8a-5505-4bf6-abcd-123412341234",
"eci": "05"
},
"transactionReference": "Dz3dIzE74EfH1HeTInyE",
"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"
}
},
"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"
}
},
"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 charge
Example response
{
"key": "chg-1e1dAHhgstYTUhlphPzZ",
"merchantAcceptorRef": {
"key": "mac-1eOdAHhgstYTUhlphPFf",
"version": 1
},
"amount": {
"value": 2599,
"currency": "EUR"
},
"status": {
"authentication": "authenticated",
"authorization": "approved",
"clearing": "pending"
},
"authentication": {
"sca": {
"result": {
"directoryServerTransId": "5340af8a-5505-4bf6-abcd-123412341234"
}
}
},
"transactionReference": "Dz3dIzE74EfH1HeTInyE",
"authorizationIsoFields": {
"responseCode": "00",
"responseCodeDescription": "Approved",
"authorizationCode": "4A4316",
"systemTraceAuditNumber": "123456",
"retrievalReferenceNumber": "131608123456",
"networkSpecificFields": {
"cvcResult": "Y",
"avsResult": "Y"
}
},
"sender": {
"organizationName": "Name",
"firstName": "Name",
"middleName": "Name",
"lastName": "Name",
"accountNumber": "************0007",
"address": {
"countryCode": {
"alpha3": "NLD",
"alpha2": "NL",
"numeric": "528"
}
}
},
"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"
}
},
"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"
}
},
"version": 1
}Changes
No recorded changes to this operation across all 1 revision of this API.