Create Payment
To create a payment, make a POST request to the following endpoint:
Request
Include your API key in the Authorization header of the request, as described in the Authorization section.
Response
A successful response to the create payment endpoint will return the payment object in the JSON format. The response will include various details about the payment, such as its ID, name, and any associated details.
POST
https://api.peach-in.com/v4/payments
Request Body
sum*
number
Payment sum
isSubscription
boolean
Specifies if this payment is a subscription
personalDedication
String
displayName
String
internalComments
String
mailingApproval
boolean
currency
String
Default: ILS
billingCycles
number
Total amount of billing cycles
Required if isSubsription = true
lastName
String
firstName
String
phone
String
String
city
String
street
String
streetNumber
String
aptNumber
String
zipCode
String
campaignId
String
groupId
String
receiptUrl
String
bank
String
Bank code
bankBranch
String
Bank branch
bankName
String
Bank name
bankAccount
String
Bank account number
chequeNumber
String
Check number
receiptNumber
String
contactId
String
customProperties
Object
object with payment's custom properties as set up in the system.
Last updated