Replies: 1 comment 4 replies
-
Which language are you coding in? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm replicating all the data from onlyfans original request via
api2/v2/payments/pay
However It keeps returning a code 400 with the response
{"error":{"code":0,"message":"PaymentType is required"},"errors":{"paymentType":["PaymentType is required","PaymentType contains invalid value"]}}
payload:
paymentType : subscribe
userId : {modelID}
subscribeSource : profile
amount : {subPrice}
token : null
unavailablePaymentGates[] : null
Any help with this?
Example, my failed request vs. one made via OnlyFans
Failed Request
OnlyFans Request
All headers are the same that I use for every OnlyFans request, which work fine apart from payment requests
Beta Was this translation helpful? Give feedback.
All reactions